mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
Update build-tnc.yml
This commit is contained in:
parent
225e85f1d9
commit
db65b32ddb
21
.github/workflows/build-tnc.yml
vendored
21
.github/workflows/build-tnc.yml
vendored
|
@ -64,23 +64,4 @@ jobs:
|
|||
pip3 install threading
|
||||
- name: Build with pyinstaller for ${{matrix.TARGET}}
|
||||
run: ${{matrix.CMD_BUILD}}
|
||||
- name: Load Release URL File from release job
|
||||
uses: actions/download-artifact@v1
|
||||
with:
|
||||
name: release_url
|
||||
- name: Get Release File Name & Upload URL
|
||||
id: get_release_info
|
||||
shell: bash
|
||||
run: |
|
||||
value=`cat release_url/release_url.txt`
|
||||
echo ::set-output name=upload_url::$value
|
||||
- name: Upload Release Asset
|
||||
id: upload-release-asset
|
||||
uses: actions/upload-release-asset@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
upload_url: ${{ steps.get_release_info.outputs.upload_url }}
|
||||
asset_path: ./dist/${{ matrix.OUT_FILE_NAME}}
|
||||
asset_name: ${{ matrix.OUT_FILE_NAME}}
|
||||
asset_content_type: ${{ matrix.ASSET_MIME}}
|
||||
|
||||
|
|
Loading…
Reference in a new issue