mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-22 14:05:39 +00:00
pipeline: moved to an install dependencies script [skip ci]
This commit is contained in:
parent
a0fe34abf7
commit
7aa230fa7d
6
.github/workflows/cooker-selfhosted.yml
vendored
6
.github/workflows/cooker-selfhosted.yml
vendored
|
@ -48,10 +48,8 @@ jobs:
|
||||||
echo "buildid=$result" >> $GITHUB_ENV
|
echo "buildid=$result" >> $GITHUB_ENV
|
||||||
echo "VersionID is $result"
|
echo "VersionID is $result"
|
||||||
|
|
||||||
- name: Initialize Flatpak environment
|
- name: "Install dependencies"
|
||||||
run: |
|
run: "automation_tools/install_dependencies.sh"
|
||||||
sudo apt install -y $(cat 'automation_tools/requirements.txt')
|
|
||||||
flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
|
||||||
|
|
||||||
- name: Run pre-build automation tasks
|
- name: Run pre-build automation tasks
|
||||||
run : "/bin/bash ${GITHUB_WORKSPACE}/automation_tools/pre_build_automation.sh"
|
run : "/bin/bash ${GITHUB_WORKSPACE}/automation_tools/pre_build_automation.sh"
|
||||||
|
|
6
.github/workflows/main-selfhosted.yml
vendored
6
.github/workflows/main-selfhosted.yml
vendored
|
@ -37,10 +37,8 @@ jobs:
|
||||||
with:
|
with:
|
||||||
submodules: 'true'
|
submodules: 'true'
|
||||||
|
|
||||||
- name: Initialize Flatpak environment
|
- name: "Install dependencies"
|
||||||
run: |
|
run: "automation_tools/install_dependencies.sh"
|
||||||
sudo apt install -y $(cat 'automation_tools/requirements.txt')
|
|
||||||
flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
|
||||||
|
|
||||||
- name: Run pre-build automation tasks
|
- name: Run pre-build automation tasks
|
||||||
run : "/bin/bash ${GITHUB_WORKSPACE}/automation_tools/pre_build_automation.sh"
|
run : "/bin/bash ${GITHUB_WORKSPACE}/automation_tools/pre_build_automation.sh"
|
||||||
|
|
3
automation_tools/install_dependencies.sh
Normal file
3
automation_tools/install_dependencies.sh
Normal 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
|
|
@ -1 +0,0 @@
|
||||||
flatpak flatpak-builder p7zip-full xmlstarlet bzip2 curl
|
|
Loading…
Reference in a new issue