added first mac workflow

a first test...
This commit is contained in:
dj2ls 2022-02-16 17:17:15 +01:00
parent 9d2adc3e88
commit 54869bdecc
2 changed files with 31 additions and 0 deletions

View file

@ -105,3 +105,33 @@ jobs:
shell: bash
run: |
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

View file

@ -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 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.
Build steps for other OS than Ubuntu are provided, but not fully working, yet.