Do it all ourselves
This commit is contained in:
@@ -17,8 +17,24 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
# Install devkit pacman
|
||||
wget -U "dkp-apt" https://apt.devkitpro.org/install-devkitpro-pacman
|
||||
chmod +x ./install-devkitpro-pacman
|
||||
if ! [ $(id -u) = 0 ]; then
|
||||
echo "Need root privilege to install!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# ensure apt is set up to work with https sources
|
||||
apt-get install apt-transport-https
|
||||
|
||||
# Store devkitPro gpg key locally if we don't have it already
|
||||
if ! [ -f /usr/share/keyring/devkitpro-pub.gpg ]; then
|
||||
mkdir -p /usr/share/keyring/
|
||||
wget -U "dkp apt" -O /usr/share/keyring/devkitpro-pub.gpg https://apt.devkitpro.org/devkitpro-pub.gpg
|
||||
fi
|
||||
|
||||
# Add the devkitPro apt repository if we don't have it set up already
|
||||
if ! [ -f /etc/apt/sources.list.d/devkitpro.list ]; then
|
||||
echo "deb [signed-by=/usr/share/keyring/devkitpro-pub.gpg] https://apt.devkitpro.org stable main" > /etc/apt/sources.list.d/devkitpro.list
|
||||
fi
|
||||
sudo ./install-devkitpro-pacman --yes
|
||||
apt-get install devkitpro-pacman --yes
|
||||
|
||||
|
||||
Reference in New Issue
Block a user