mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-22 14:05:39 +00:00
WORKFLOW: brought cooker hashes edits on main pipeline as well
This commit is contained in:
parent
1bf16a92dc
commit
43422abdb3
11
.github/workflows/main-selfhosted.yml
vendored
11
.github/workflows/main-selfhosted.yml
vendored
|
@ -40,6 +40,10 @@ jobs:
|
||||||
- name: "Install dependencies"
|
- name: "Install dependencies"
|
||||||
run: "automation_tools/install_dependencies.sh"
|
run: "automation_tools/install_dependencies.sh"
|
||||||
|
|
||||||
|
# backing up manifest in case download fails and hashes must be recalculated
|
||||||
|
- name: Manifest backup
|
||||||
|
run: "cp ${GITHUB_WORKSPACE}/net.retrodeck.retrodeck.yml ${GITHUB_WORKSPACE}/net.retrodeck.retrodeck.yml.bak"
|
||||||
|
|
||||||
- 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"
|
||||||
|
|
||||||
|
@ -67,10 +71,11 @@ jobs:
|
||||||
if: steps.flatpak-download.outcome == 'failure'
|
if: steps.flatpak-download.outcome == 'failure'
|
||||||
run: |
|
run: |
|
||||||
echo "Download failed, maybe some hash changed since the build start."
|
echo "Download failed, maybe some hash changed since the build start."
|
||||||
git checkout -- net.retrodeck.retrodeck.yml
|
|
||||||
echo "Recalculating hashes and retrying download..."
|
echo "Recalculating hashes and retrying download..."
|
||||||
"/bin/bash ${GITHUB_WORKSPACE}/automation_tools/pre_build_automation.sh"
|
rm -f "{GITHUB_WORKSPACE}/net.retrodeck.retrodeck.yml"
|
||||||
"/bin/bash ${GITHUB_WORKSPACE}/automation_tools/flatpak_build_download_only.sh"
|
cp "${GITHUB_WORKSPACE}/net.retrodeck.retrodeck.yml.bak" "${GITHUB_WORKSPACE}/net.retrodeck.retrodeck.yml"
|
||||||
|
"${GITHUB_WORKSPACE}/automation_tools/pre_build_automation.sh"
|
||||||
|
"${GITHUB_WORKSPACE}/automation_tools/flatpak_build_download_only.sh"
|
||||||
|
|
||||||
- name: Build flatpak
|
- name: Build flatpak
|
||||||
run: "/bin/bash ${GITHUB_WORKSPACE}/automation_tools/flatpak_build_only.sh"
|
run: "/bin/bash ${GITHUB_WORKSPACE}/automation_tools/flatpak_build_only.sh"
|
||||||
|
|
Loading…
Reference in a new issue