mirror of
https://github.com/meshtastic/python.git
synced 2026-04-20 06:47:44 -04:00
Update release.yml
This commit is contained in:
52
.github/workflows/release.yml
vendored
52
.github/workflows/release.yml
vendored
@@ -71,15 +71,7 @@ jobs:
|
|||||||
build-and-publish-mac:
|
build-and-publish-mac:
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
needs: release_create
|
needs: release_create
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: get upload_url
|
|
||||||
id: get_upload_url
|
|
||||||
uses: noobly314/share-data@v1
|
|
||||||
with:
|
|
||||||
share-id: release_url
|
|
||||||
mode: get
|
|
||||||
key: url
|
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
@@ -110,7 +102,15 @@ jobs:
|
|||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
pip install .
|
pip install .
|
||||||
pyinstaller -F -n meshtastic --collect-all meshtastic --codesign-identity "$MACOS_SIGNING_IDENTITY" meshtastic/__main__.py
|
pyinstaller -F -n meshtastic --collect-all meshtastic --codesign-identity "$MACOS_SIGNING_IDENTITY" meshtastic/__main__.py
|
||||||
|
|
||||||
|
- name: get upload_url
|
||||||
|
id: get_upload_url
|
||||||
|
uses: noobly314/share-data@v1
|
||||||
|
with:
|
||||||
|
share-id: release_url
|
||||||
|
mode: get
|
||||||
|
key: url
|
||||||
|
|
||||||
- name: Add mac to release
|
- name: Add mac to release
|
||||||
uses: actions/upload-release-asset@v1
|
uses: actions/upload-release-asset@v1
|
||||||
env:
|
env:
|
||||||
@@ -125,14 +125,6 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: release_create
|
needs: release_create
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: get upload_url
|
|
||||||
id: get_upload_url
|
|
||||||
uses: noobly314/share-data@v1
|
|
||||||
with:
|
|
||||||
share-id: release_url
|
|
||||||
mode: get
|
|
||||||
key: url
|
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
@@ -149,6 +141,14 @@ jobs:
|
|||||||
pip install .
|
pip install .
|
||||||
pyinstaller -F -n meshtastic --collect-all meshtastic meshtastic/__main__.py
|
pyinstaller -F -n meshtastic --collect-all meshtastic meshtastic/__main__.py
|
||||||
|
|
||||||
|
- name: get upload_url
|
||||||
|
id: get_upload_url
|
||||||
|
uses: noobly314/share-data@v1
|
||||||
|
with:
|
||||||
|
share-id: release_url
|
||||||
|
mode: get
|
||||||
|
key: url
|
||||||
|
|
||||||
- name: Add ubuntu to release
|
- name: Add ubuntu to release
|
||||||
uses: actions/upload-release-asset@v1
|
uses: actions/upload-release-asset@v1
|
||||||
env:
|
env:
|
||||||
@@ -164,14 +164,6 @@ jobs:
|
|||||||
needs: release_create
|
needs: release_create
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: get upload_url
|
|
||||||
id: get_upload_url
|
|
||||||
uses: noobly314/share-data@v1
|
|
||||||
with:
|
|
||||||
share-id: release_url
|
|
||||||
mode: get
|
|
||||||
key: url
|
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
@@ -187,6 +179,14 @@ jobs:
|
|||||||
pip install .
|
pip install .
|
||||||
pyinstaller -F -n meshtastic --collect-all meshtastic meshtastic/__main__.py
|
pyinstaller -F -n meshtastic --collect-all meshtastic meshtastic/__main__.py
|
||||||
|
|
||||||
|
- name: get upload_url
|
||||||
|
id: get_upload_url
|
||||||
|
uses: noobly314/share-data@v1
|
||||||
|
with:
|
||||||
|
share-id: release_url
|
||||||
|
mode: get
|
||||||
|
key: url
|
||||||
|
|
||||||
- name: Add windows to release
|
- name: Add windows to release
|
||||||
uses: actions/upload-release-asset@v1
|
uses: actions/upload-release-asset@v1
|
||||||
env:
|
env:
|
||||||
|
|||||||
Reference in New Issue
Block a user