From c944b5e4548a4aec655350afb9809111bcca7f4d Mon Sep 17 00:00:00 2001 From: Yoshiko2 Date: Sun, 6 Aug 2023 03:29:07 +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 894e2ad..1a5f95d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,7 +14,7 @@ jobs: strategy: matrix: - os: [windows-2019, macos-latest, ubuntu-20.04] + os: [windows-2019, macos-13, ubuntu-20.04] arch: [aarch64, amd64] steps: @@ -47,7 +47,7 @@ jobs: python number_parser.py -v - name: Build with PyInstaller for macos/ubuntu - if: matrix.os == 'macos-latest' || matrix.os == 'ubuntu-20.04' + if: matrix.os == 'macos-13' || matrix.os == 'ubuntu-20.04' run: | pyinstaller \ --onefile Movie_Data_Capture.py \ @@ -79,7 +79,7 @@ jobs: cp config.ini dist/ - name: Set VERSION variable for macos/ubuntu - if: matrix.os == 'macos-latest' || matrix.os == 'ubuntu-20.04' + if: matrix.os == 'macos-13' || matrix.os == 'ubuntu-20.04' run: | echo "VERSION=$(python Movie_Data_Capture.py --version)" >> $GITHUB_ENV echo "ARCH=$(arch)" >> $GITHUB_ENV @@ -97,7 +97,7 @@ jobs: path: dist - name: Run test (Ubuntu & MacOS) - if: matrix.os == 'ubuntu-20.04' || matrix.os == 'macos-latest' + if: matrix.os == 'ubuntu-20.04' || matrix.os == 'macos-13' run: | cd dist touch IPX-292.mp4