Skip to content

Commit c5fca6b

Browse files
committed
update cache key from linux apt, so no arm / x86 packages mixed
1 parent a55e29a commit c5fca6b

File tree

1 file changed

+34
-17
lines changed

1 file changed

+34
-17
lines changed

.github/workflows/of.yml

Lines changed: 34 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -43,24 +43,41 @@ jobs:
4343
if: matrix.platform == 'vs'
4444
run: choco install zip -y
4545

46-
- name: Cache Packages - Linux Apt
46+
- name: Linux install apt
4747
if: runner.os == 'Linux'
48-
uses: awalsh128/cache-apt-pkgs-action@latest
49-
with:
50-
packages: >
51-
wget2
52-
ninja-build
53-
libfontconfig1-dev
54-
libxrandr-dev
55-
libglu1-mesa-dev libgl1-mesa-dev
56-
libjack-jackd2-0 libjack-jackd2-dev libasound2-dev
57-
freeglut3-dev libxmu-dev libxxf86vm-dev libopenal-dev libsndfile1-dev libpulse-dev
58-
libudev-dev libdrm-dev
59-
libxcursor-dev libxi-dev libxinerama-dev
60-
libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev gstreamer1.0-pulseaudio
61-
gstreamer1.0-x gstreamer1.0-plugins-bad gstreamer1.0-alsa
62-
gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-libav
63-
version: 1.0-${{ matrix.platform }}
48+
run: >
49+
sudo apt install
50+
gh
51+
ninja-build
52+
libfontconfig1-dev
53+
libxrandr-dev
54+
libglu1-mesa-dev libgl1-mesa-dev
55+
libjack-jackd2-0 libjack-jackd2-dev libasound2-dev
56+
freeglut3-dev libxmu-dev libxxf86vm-dev libopenal-dev libsndfile1-dev libpulse-dev
57+
libudev-dev libdrm-dev
58+
libxcursor-dev libxi-dev libxinerama-dev
59+
libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev gstreamer1.0-pulseaudio
60+
gstreamer1.0-x gstreamer1.0-plugins-bad gstreamer1.0-alsa
61+
gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-libav
62+
63+
# - name: Cache Packages - Linux Apt
64+
# if: runner.os == 'Linux'
65+
# uses: awalsh128/cache-apt-pkgs-action@latest
66+
# with:
67+
# packages: >
68+
# wget2
69+
# ninja-build
70+
# libfontconfig1-dev
71+
# libxrandr-dev
72+
# libglu1-mesa-dev libgl1-mesa-dev
73+
# libjack-jackd2-0 libjack-jackd2-dev libasound2-dev
74+
# freeglut3-dev libxmu-dev libxxf86vm-dev libopenal-dev libsndfile1-dev libpulse-dev
75+
# libudev-dev libdrm-dev
76+
# libxcursor-dev libxi-dev libxinerama-dev
77+
# libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev gstreamer1.0-pulseaudio
78+
# gstreamer1.0-x gstreamer1.0-plugins-bad gstreamer1.0-alsa
79+
# gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-libav
80+
# version: 1.0-${{ matrix.platform }}
6481

6582
- name: Cache Packages - macOS Brew
6683
if: runner.os == 'macOS'

0 commit comments

Comments
 (0)