pipeline: moved to an install dependencies script [skip ci]

This commit is contained in:
XargonWan 2023-08-31 10:11:59 +02:00
parent a0fe34abf7
commit 7aa230fa7d
4 changed files with 7 additions and 9 deletions

View file

@ -48,10 +48,8 @@ jobs:
echo "buildid=$result" >> $GITHUB_ENV
echo "VersionID is $result"
- name: Initialize Flatpak environment
run: |
sudo apt install -y $(cat 'automation_tools/requirements.txt')
flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
- name: "Install dependencies"
run: "automation_tools/install_dependencies.sh"
- name: Run pre-build automation tasks
run : "/bin/bash ${GITHUB_WORKSPACE}/automation_tools/pre_build_automation.sh"

View file

@ -37,10 +37,8 @@ jobs:
with:
submodules: 'true'
- name: Initialize Flatpak environment
run: |
sudo apt install -y $(cat 'automation_tools/requirements.txt')
flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
- name: "Install dependencies"
run: "automation_tools/install_dependencies.sh"
- name: Run pre-build automation tasks
run : "/bin/bash ${GITHUB_WORKSPACE}/automation_tools/pre_build_automation.sh"

View file

@ -0,0 +1,3 @@
#!/bin/bash
sudo apt install -y flatpak flatpak-builder p7zip-full xmlstarlet bzip2 curl
flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

View file

@ -1 +0,0 @@
flatpak flatpak-builder p7zip-full xmlstarlet bzip2 curl