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:
|
with:
|
||||||
name: tnc-artifact
|
name: tnc-artifact
|
||||||
path: ./tnc/dist/compressed/*
|
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
|
- name: Copy TNC to GUI Linux
|
||||||
if: matrix.os == 'ubuntu-20.04'
|
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
|
name: tnc-artifact
|
||||||
path: ./tnc/dist/compressed/*
|
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
|
- name: Copy TNC to GUI
|
||||||
if: matrix.os == 'macos-10.15'
|
if: matrix.os == 'macos-10.15'
|
||||||
run: |
|
run: |
|
||||||
|
|
30
.github/workflows/build-project-win.yml
vendored
30
.github/workflows/build-project-win.yml
vendored
|
@ -65,6 +65,28 @@ jobs:
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
ls -R
|
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
|
#- name: Build codec2
|
||||||
# shell: bash
|
# shell: bash
|
||||||
|
@ -115,6 +137,14 @@ jobs:
|
||||||
directory: ./gui-bundle/win-unpacked/
|
directory: ./gui-bundle/win-unpacked/
|
||||||
path: .
|
path: .
|
||||||
#exclusions: '*.git* /*node_modules/* .editorconfig'
|
#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
|
- name: Upload Windows GUI Bundle artifacts
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
|
|
Loading…
Reference in a new issue