mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
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:
parent
326391ccd8
commit
a4a59b3edf
6
.github/workflows/build-project-linux.yml
vendored
6
.github/workflows/build-project-linux.yml
vendored
|
@ -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'
|
||||
|
|
7
.github/workflows/build-project-mac.yml
vendored
7
.github/workflows/build-project-mac.yml
vendored
|
@ -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: |
|
||||
|
|
30
.github/workflows/build-project-win.yml
vendored
30
.github/workflows/build-project-win.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue