Skip to content

Commit 14bbe8a

Browse files
authored
Fix CI builds
Upgrade upload-artifact action to version 4 #436
2 parents 4dd7ff6 + bcb53c9 commit 14bbe8a

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

.github/workflows/installer.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,14 @@ jobs:
4545
- name: Install requires packages
4646
run: |
4747
sudo apt-get update
48-
sudo apt-get -y install build-essential uuid-dev clang llvm iasl nasm gcc-aarch64-linux-gnu abootimg python3-distutils python3-pil python3-git gettext
48+
sudo apt install build-essential uuid-dev iasl git nasm python-is-python3 gettext gcc-aarch64-linux-gnu clang llvm device-tree-compiler
4949
5050
- name: Build device ${{ matrix.device }}
5151
run: |
5252
./build.sh --device ${{ matrix.device }} --installer-zip
5353
5454
- name: Upload a Build Artifact
55-
uses: actions/upload-artifact@v3
55+
uses: actions/upload-artifact@v4
5656
with: # Artifact name
5757
name: ${{ matrix.device }}
5858
# A file, directory or wildcard pattern that describes what to upload

.github/workflows/main.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,19 +53,21 @@ jobs:
5353
- name: Install required packages
5454
run: |
5555
sudo dpkg --add-architecture i386
56-
wget -qO - https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add -
57-
sudo add-apt-repository ppa:cybermax-dexter/sdl2-backport
58-
sudo apt-add-repository "deb https://dl.winehq.org/wine-builds/ubuntu $(lsb_release -cs) main"
56+
sudo install -d -m 0755 /etc/apt/keyrings
57+
sudo wget -O /etc/apt/keyrings/winehq-archive.key \
58+
https://dl.winehq.org/wine-builds/winehq.key
59+
sudo chmod 644 /etc/apt/keyrings/winehq-archive.key
60+
sudo wget -O /etc/apt/sources.list.d/winehq-noble.sources \
61+
https://dl.winehq.org/wine-builds/ubuntu/dists/noble/winehq-noble.sources
5962
sudo apt-get update
60-
sudo apt-get -y install build-essential uuid-dev clang llvm iasl nasm gcc-aarch64-linux-gnu abootimg python3-distutils python3-pil python3-git gettext libgcc-s1:i386 libstdc++6:i386
61-
sudo apt-get install --install-recommends winehq-stable
63+
sudo apt-get install --install-recommends winehq-stable libsdl2-2.0-0 libsdl2-dev build-essential uuid-dev clang llvm iasl nasm gcc-aarch64-linux-gnu abootimg python3-pil python3-git gettext libgcc-s1:i386 libstdc++6:i386 -y
6264
6365
- name: Build an image for ${{ matrix.device }}
6466
run: |
6567
./build.sh --device ${{ matrix.device }}
6668
6769
- name: Upload a Build Artifact
68-
uses: actions/upload-artifact@v3
70+
uses: actions/upload-artifact@v4
6971
with: # Artifact name
7072
name: ${{ matrix.device }}
7173
# A file, directory or wildcard pattern that describes what to upload

0 commit comments

Comments
 (0)