Update main.yml
This commit is contained in:
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user