mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
added first mac workflow
a first test...
This commit is contained in:
parent
9d2adc3e88
commit
54869bdecc
2 changed files with 31 additions and 0 deletions
30
.github/workflows/build-project-mac.yml
vendored
30
.github/workflows/build-project-mac.yml
vendored
|
@ -105,3 +105,33 @@ jobs:
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
ls -R
|
ls -R
|
||||||
|
|
||||||
|
- name: Create app bundle
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
cp ./gui/dist/FreeDATA*.dmg gui-bundle
|
||||||
|
cd ./gui-bundle
|
||||||
|
zip -r FreeDATA_mac.zip .
|
||||||
|
|
||||||
|
- name: Upload macOS GUI Bundle artifacts
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: gui-bundle-ubuntu-artifact
|
||||||
|
path: ./gui-bundle/FreeDATA_mac.zip
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
- name: Release
|
||||||
|
uses: WebFreak001/deploy-nightly@v1.1.0
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
with:
|
||||||
|
upload_url: https://uploads.github.com/repos/DJ2LS/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/FreeDATA_mac.zip # path to archive to upload
|
||||||
|
asset_name: FreeDATA_mac-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: 1 # optional, if there are more releases than this matching the asset_name, the oldest ones are going to be deleted
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -7,6 +7,7 @@ My attempt to create a free and open-source TNC with a GUI for [codec2](https://
|
||||||
|
|
||||||
![Build Windows](https://github.com/DJ2LS/FreeDATA/actions/workflows/build-project-win.yml/badge.svg)
|
![Build Windows](https://github.com/DJ2LS/FreeDATA/actions/workflows/build-project-win.yml/badge.svg)
|
||||||
![Build Linux](https://github.com/DJ2LS/FreeDATA/actions/workflows/build-project-linux.yml/badge.svg)
|
![Build Linux](https://github.com/DJ2LS/FreeDATA/actions/workflows/build-project-linux.yml/badge.svg)
|
||||||
|
![Build macOS](https://github.com/DJ2LS/FreeDATA/actions/workflows/build-project-mac.yml/badge.svg)
|
||||||
|
|
||||||
Please keep in mind, that this project is still a prototype with many issues which need to be solved.
|
Please keep in mind, that this project is still a prototype with many issues which need to be solved.
|
||||||
Build steps for other OS than Ubuntu are provided, but not fully working, yet.
|
Build steps for other OS than Ubuntu are provided, but not fully working, yet.
|
||||||
|
|
Loading…
Reference in a new issue