Skip to content

Unlimotion macOSPkg #70

Unlimotion macOSPkg

Unlimotion macOSPkg #70

Workflow file for this run

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