updated build workflow

we want to have the tnc binaries as standalone files in our releases as well. So this is the first attempt...
This commit is contained in:
dj2ls 2022-02-23 07:36:47 +01:00
parent 326391ccd8
commit a4a59b3edf
3 changed files with 43 additions and 0 deletions

View file

@ -94,6 +94,12 @@ jobs:
with:
name: tnc-artifact
path: ./tnc/dist/compressed/*
- name: Release TNC
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/v')
with:
files: ./tnc/dist/compressed/${{ matrix.zip_name }}.zip
- name: Copy TNC to GUI Linux
if: matrix.os == 'ubuntu-20.04'

View file

@ -83,6 +83,13 @@ jobs:
name: tnc-artifact
path: ./tnc/dist/compressed/*
- name: Release TNC
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/v')
with:
files: ./tnc/dist/compressed/${{ matrix.zip_name }}.zip
- name: Copy TNC to GUI
if: matrix.os == 'macos-10.15'
run: |

View file

@ -65,6 +65,28 @@ jobs:
shell: bash
run: |
ls -R
- name: Archive TNC
uses: thedoctor0/zip-release@master
with:
type: 'zip'
filename: 'FreeDATA_windows.zip'
directory: ./tnc/dist/tnc
path: ./tnc/dist/tnc
#exclusions: '*.git* /*node_modules/* .editorconfig'
- name: LIST ALL FILES
shell: bash
working-directory: tnc
run: |
ls -R
- name: Release TNC
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/v')
with:
files: ./tnc/dist/tnc/${{ matrix.zip_name }}.zip
#- name: Build codec2
# shell: bash
@ -115,6 +137,14 @@ jobs:
directory: ./gui-bundle/win-unpacked/
path: .
#exclusions: '*.git* /*node_modules/* .editorconfig'
- name: Release TNC
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/v')
with:
files: ./tnc/dist/compressed/${{ matrix.zip_name }}.zip
- name: Upload Windows GUI Bundle artifacts
uses: actions/upload-artifact@v2