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:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [windows-2019, macos-latest, ubuntu-20.04]
|
os: [windows-2019, macos-13, ubuntu-20.04]
|
||||||
arch: [aarch64, amd64]
|
arch: [aarch64, amd64]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@@ -47,7 +47,7 @@ jobs:
|
|||||||
python number_parser.py -v
|
python number_parser.py -v
|
||||||
|
|
||||||
- name: Build with PyInstaller for macos/ubuntu
|
- 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: |
|
run: |
|
||||||
pyinstaller \
|
pyinstaller \
|
||||||
--onefile Movie_Data_Capture.py \
|
--onefile Movie_Data_Capture.py \
|
||||||
@@ -79,7 +79,7 @@ jobs:
|
|||||||
cp config.ini dist/
|
cp config.ini dist/
|
||||||
|
|
||||||
- name: Set VERSION variable for macos/ubuntu
|
- 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: |
|
run: |
|
||||||
echo "VERSION=$(python Movie_Data_Capture.py --version)" >> $GITHUB_ENV
|
echo "VERSION=$(python Movie_Data_Capture.py --version)" >> $GITHUB_ENV
|
||||||
echo "ARCH=$(arch)" >> $GITHUB_ENV
|
echo "ARCH=$(arch)" >> $GITHUB_ENV
|
||||||
@@ -97,7 +97,7 @@ jobs:
|
|||||||
path: dist
|
path: dist
|
||||||
|
|
||||||
- name: Run test (Ubuntu & MacOS)
|
- 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: |
|
run: |
|
||||||
cd dist
|
cd dist
|
||||||
touch IPX-292.mp4
|
touch IPX-292.mp4
|
||||||
|
|||||||
Reference in New Issue
Block a user