Unlimotion macOSPkg #69
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Unlimotion macOSPkg | |
on: | |
release: | |
types: | |
- published | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
jobs: | |
osx-build: | |
runs-on: macos-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.sha }} | |
- name: Debug Ref Name | |
uses: ./.github/actions/debug-step | |
- name: Set AppName | |
uses: ./.github/actions/setAppName-byBash-step | |
- name: Publish | |
run: sh ./src/Unlimotion.Desktop/ci/osx/generate-osx-publish.sh ${{ github.ref_name }} | |
- name: Generate App | |
run: sh ./src/Unlimotion.Desktop/ci/osx/generate-osx-app.sh ${{ github.ref_name }} | |
- name: Generate Pkg | |
run: sh ./src/Unlimotion.Desktop/ci/osx/generate-osx-pkg.sh ${{ github.ref_name }} | |
- name: Upload MacOSPkg To Release | |
uses: softprops/action-gh-release@v1 | |
with: | |
files: ./*.pkg |