-
Notifications
You must be signed in to change notification settings - Fork 420
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
6 additions
and
7 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,7 @@ jobs: | |
# create a build matrix for jobs | ||
strategy: | ||
matrix: | ||
os: [windows-2019, macos-12] | ||
os: [windows-2019, macos-14] | ||
|
||
steps: | ||
# step1: check out repository | ||
|
@@ -37,14 +37,13 @@ jobs: | |
|
||
- name: setup python | ||
uses: actions/setup-python@v5 | ||
if: matrix.os == 'macos-12' | ||
with: | ||
python-version: 3.11.4 | ||
python-version: 3.12 | ||
|
||
- name: setup appdmg | ||
if: matrix.os == 'macos-12' | ||
run: | | ||
python3 -m pip install setuptools | ||
npm install -g [email protected] | ||
# step3: npm install | ||
- name: npm install | ||
|
@@ -61,7 +60,7 @@ jobs: | |
GH_TOKEN: ${{ secrets.SECRET_TOKEN }} | ||
|
||
- name: build mac app | ||
if: matrix.os == 'macos-12' | ||
if: matrix.os == 'macos-14' | ||
run: | | ||
npm run package:mac64 | ||
npm run dmg | ||
|
@@ -71,7 +70,7 @@ jobs: | |
GH_TOKEN: ${{ secrets.SECRET_TOKEN }} | ||
|
||
- name: Get the version tag | ||
if: matrix.os == 'macos-12' | ||
if: matrix.os == 'macos-14' | ||
run: echo "VERSION_TAG=$(git describe --tags)" >> $GITHUB_ENV | ||
|
||
- name: Get the version tag win | ||
|
@@ -81,7 +80,7 @@ jobs: | |
echo "VERSION_TAG=$versionTag" >> $GITHUB_ENV | ||
- name: Rename files in OutApp/packages | ||
if: matrix.os == 'macos-12' | ||
if: matrix.os == 'macos-14' | ||
run: | | ||
for file in OutApp/packages/*; do | ||
# 获取文件扩展名 | ||
|