Update release-macos.yaml

This commit is contained in:
tiny-craft 2023-08-08 09:36:11 +08:00 committed by GitHub
parent 6937939916
commit 9cd0886189
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 3 deletions

View File

@ -11,8 +11,8 @@ jobs:
strategy: strategy:
matrix: matrix:
platform: platform:
- darwin/amd64 # - darwin/amd64
- darwin/arm64 # - darwin/arm64
- darwin/universal - darwin/universal
steps: steps:
- name: Checkout source code - name: Checkout source code
@ -60,7 +60,8 @@ jobs:
shell: bash shell: bash
run: | run: |
npm install -g npm npm install -g npm
node version.js ${{ github.event.release.tag_name }} npm install -g json
json -I -f wails.json -e "this.info.productVersion='${{ github.event.release.tag_name }}'"
cd frontend && npm install cd frontend && npm install
- name: Build wails app for macOS - name: Build wails app for macOS