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
f22d1e89ba
commit
0ccdd19806
1 changed files with 7 additions and 9 deletions
16
.github/workflows/build-project.yml
vendored
16
.github/workflows/build-project.yml
vendored
|
@ -104,7 +104,7 @@ jobs:
|
||||||
working-directory: tnc
|
working-directory: tnc
|
||||||
run: |
|
run: |
|
||||||
cp -R ./hamlib ./dist
|
cp -R ./hamlib ./dist
|
||||||
#chmod +x ./dist/hamlib/linux/rigctld
|
chmod +x ./dist/hamlib/linux/rigctld
|
||||||
|
|
||||||
|
|
||||||
- name: Copy codec2 to TNC Linux
|
- name: Copy codec2 to TNC Linux
|
||||||
|
@ -171,18 +171,16 @@ jobs:
|
||||||
chmod +x ./tnc/dist/tnc
|
chmod +x ./tnc/dist/tnc
|
||||||
chmod +x ./tnc/dist/daemon
|
chmod +x ./tnc/dist/daemon
|
||||||
cd ./gui-bundle
|
cd ./gui-bundle
|
||||||
#zip -r codec2-FreeDATA_linux.zip .
|
zip -r codec2-FreeDATA_linux.zip .
|
||||||
tar -zcvf codec2-FreeDATA_linux.tar.gz *
|
#tar -zcvf codec2-FreeDATA_linux.tar.gz *
|
||||||
ls -R
|
ls -R
|
||||||
|
|
||||||
- name: Upload Ubuntu GUI Bundle artifacts
|
- name: Upload Ubuntu GUI Bundle artifacts
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: gui-bundle-ubuntu-artifact
|
name: gui-bundle-ubuntu-artifact
|
||||||
#path: ./gui/dist/*.AppImage
|
path: ./gui-bundle/codec2-FreeDATA_linux.zip
|
||||||
#path: ./gui/dist/*
|
#path: ./gui-bundle/codec2-FreeDATA_linux.tar.gz
|
||||||
#path: ./gui-bundle/codec2-FreeDATA_linux.zip
|
|
||||||
path: ./gui-bundle/codec2-FreeDATA_linux.tar.gz
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -213,8 +211,8 @@ jobs:
|
||||||
with:
|
with:
|
||||||
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
|
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)
|
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_linux.tar.gz # path to archive to upload
|
asset_path: ./gui-bundle-ubuntu-artifact/codec2-FreeDATA_linux.zip # path to archive to upload
|
||||||
asset_name: codec2-FreeDATA_linux-nightly-$$.tar.gz # name to upload the release as, use $$ to insert date (YYYYMMDD) and 6 letter commit hash
|
asset_name: codec2-FreeDATA_linux-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
|
asset_content_type: application/zip # required by GitHub API
|
||||||
max_releases: 1 # optional, if there are more releases than this matching the asset_name, the oldest ones are going to be deleted
|
max_releases: 1 # optional, if there are more releases than this matching the asset_name, the oldest ones are going to be deleted
|
||||||
#files: |
|
#files: |
|
||||||
|
|
Loading…
Reference in a new issue