diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 157f4b7..69cd9c0 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.os == 'macos-11' + if: matrix.os == 'macos-13' with: python-version: '3.11' - name: build mac app - if: matrix.os == 'macos-11' + if: matrix.os == 'macos-13' 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-11' + if: matrix.os == 'macos-13' 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-11' + if: matrix.os == 'macos-13' run: | for file in OutApp/packages/*; do # 获取文件扩展名