mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
Update build-project.yml
This commit is contained in:
parent
addd4ee241
commit
fdcf860abd
1 changed files with 13 additions and 6 deletions
19
.github/workflows/build-project.yml
vendored
19
.github/workflows/build-project.yml
vendored
|
@ -175,12 +175,19 @@ jobs:
|
|||
|
||||
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
uses: WebFreak001/deploy-nightly@v1.1.0
|
||||
#uses: softprops/action-gh-release@v1
|
||||
#if: startsWith(github.ref, 'refs/tags/')
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
files: |
|
||||
./gui-bundle-ubuntu-artifact/codec2-FreeDATA_ubuntu.zip
|
||||
./tnc-artifact/ubuntu_tnc.zip
|
||||
LICENSE
|
||||
upload_url: https://uploads.github.com/repos/DJ2LS/codec2-FreeDATA/releases/48616289/assets{?name,label} # find out this value by opening https://api.github.com/repos/<owner>/<repo>/releases in your browser and copy the full "upload_url" value including the {?name,label} part
|
||||
release_id: 48616289 # same as above (id can just be taken out the upload_url, it's used to find old releases)
|
||||
asset_path: ./gui-bundle-ubuntu-artifact/codec2-FreeDATA_ubuntu.zip # path to archive to upload
|
||||
asset_name: codec2-FreeDATA_ubuntu-nightly-$$.zip # name to upload the release as, use $$ to insert date (YYYYMMDD) and 6 letter commit hash
|
||||
asset_content_type: application/zip # required by GitHub API
|
||||
max_releases: 7 # optional, if there are more releases than this matching the asset_name, the oldest ones are going to be deleted
|
||||
#files: |
|
||||
# ./gui-bundle-ubuntu-artifact/codec2-FreeDATA_ubuntu.zip
|
||||
# ./tnc-artifact/ubuntu_tnc.zip
|
||||
# LICENSE
|
||||
|
|
Loading…
Reference in a new issue