From 69e0a97d843422ffead64dc38fd7432beb9542b8 Mon Sep 17 00:00:00 2001 From: xianfei Date: Fri, 12 Apr 2024 01:27:34 +0800 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 50f3a8f..7e362a9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -49,12 +49,12 @@ jobs: - name: Setup Python 3.11 (macOS) uses: actions/setup-python@v4 - if: matrix.platform == 'darwin' + if: matrix.os == 'macos-11' with: python-version: '3.11' - name: build mac app - if: matrix.os == 'macos-latest' + if: matrix.os == 'macos-11' run: | npm run package:mac64 npm run dmg @@ -64,7 +64,7 @@ jobs: GH_TOKEN: ${{ secrets.SECRET_TOKEN }} - name: Get the version tag - if: matrix.os == 'macos-latest' + if: matrix.os == 'macos-11' run: echo "VERSION_TAG=$(git describe --tags)" >> $GITHUB_ENV - name: Get the version tag win @@ -74,7 +74,7 @@ jobs: echo "VERSION_TAG=$versionTag" >> $GITHUB_ENV - name: Rename files in OutApp/packages - if: matrix.os == 'macos-latest' + if: matrix.os == 'macos-11' run: | for file in OutApp/packages/*; do # 获取文件扩展名