mirror of
https://github.com/meshtastic/python.git
synced 2025-12-31 03:47:55 -05:00
Update release.yml
This commit is contained in:
12
.github/workflows/release.yml
vendored
12
.github/workflows/release.yml
vendored
@@ -6,10 +6,6 @@ on:
|
||||
description: "Release version (Example: 1.0.0, must match 'version' in setup.py)"
|
||||
required: true
|
||||
default: '1.0.0'
|
||||
workflow_call:
|
||||
outputs:
|
||||
upload_url:
|
||||
value: ${{ jobs.release_create.outputs.upload_url }}
|
||||
|
||||
jobs:
|
||||
release_create:
|
||||
@@ -27,7 +23,7 @@ jobs:
|
||||
body: |
|
||||
Autogenerated by github action, developer should edit as required before publishing...
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
publish_to_pypi:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -103,7 +99,7 @@ jobs:
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
upload_url: ${{ outputs.upload_url.value }}
|
||||
upload_url: ${{ release_create.create_release.upload_url }}
|
||||
asset_path: dist/meshtastic_mac
|
||||
asset_name: meshtastic_mac
|
||||
asset_content_type: application/zip
|
||||
@@ -133,7 +129,7 @@ jobs:
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
upload_url: ${{ outputs.upload_url.value }}
|
||||
upload_url: ${{ release_create.create_release.upload_url }}
|
||||
asset_path: dist/meshtastic_ubuntu
|
||||
asset_name: meshtastic_ubuntu
|
||||
asset_content_type: application/zip
|
||||
@@ -163,7 +159,7 @@ jobs:
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
upload_url: ${{ outputs.upload_url.value }}
|
||||
upload_url: ${{ release_create.create_release.upload_url }}
|
||||
asset_path: dist/meshtastic_windows
|
||||
asset_name: meshtastic_windows
|
||||
asset_content_type: application/zip
|
||||
|
||||
Reference in New Issue
Block a user