Skip to content

Commit 28f9d59

Browse files
authored
Merge pull request #25 from ja2-stracciatella/ci-update-image-versions
Fix CI builds
2 parents 3d893e0 + 04a6464 commit 28f9d59

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

.github/workflows/github-ci.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ jobs:
1111
fail-fast: false
1212
matrix:
1313
cfg:
14-
- os: ubuntu-20.04
14+
- os: ubuntu-latest
1515
python-version: 3.8
1616
target: linux
1717
target-arch: x64
18-
- os: macos-10.15
18+
- os: macos-latest
1919
python-version: 3.8
2020
target: mac
21-
target-arch: x64
22-
- os: windows-2019
21+
target-arch: arm64
22+
- os: windows-latest
2323
python-version: 3.8
2424
target: windows
2525
target-arch: x86
@@ -33,16 +33,18 @@ jobs:
3333
submodules: true
3434

3535
- name: Set up Python
36-
uses: actions/setup-python@v2
36+
uses: actions/setup-python@v5
3737
with:
3838
python-version: ${{ matrix.cfg.python-version }}
3939
architecture: ${{ matrix.cfg.target-arch }}
4040

4141
- name: Set up build deps
4242
shell: bash
4343
run: |
44-
if [ "${{ matrix.cfg.target }} = "linux" ]; then sudo apt-get -yq update && sudo apt-get -yq install upx; fi
45-
if [ "${{ matrix.cfg.target }} = "windows" ]; then pip3 install pypiwin32 pefile; fi
44+
pip3 install setuptools==58 wheel ## needed by fs<2
45+
if [ "${{ matrix.cfg.target }}" = "linux" ]; then sudo apt-get -yq update && sudo apt-get -yq install upx; fi
46+
if [ "${{ matrix.cfg.target }}" = "windows" ]; then pip3 install pypiwin32 pefile; fi
47+
4648
pip3 install -r build/requirements.txt
4749
pip3 install pyinstaller
4850
@@ -63,7 +65,7 @@ jobs:
6365
CI_GIT_TAG: ${{ steps.gitVersion.outputs.VERSION }}
6466

6567
- name: Upload artifacts
66-
uses: actions/upload-artifact@v2
68+
uses: actions/upload-artifact@v4
6769
with:
6870
name: ${{ matrix.cfg.target }}-${{ matrix.cfg.target-arch }}
6971
path: |

0 commit comments

Comments
 (0)