mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-23 06:25:39 +00:00
ARTIFACTS: added local repo to cache
This commit is contained in:
parent
093ed45b66
commit
826f860d40
22
.github/workflows/cooker.yml
vendored
22
.github/workflows/cooker.yml
vendored
|
@ -68,7 +68,7 @@ jobs:
|
|||
# sudo apt install flatpak flatpak-builder p7zip-full
|
||||
# sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
||||
# sudo flatpak install -y org.kde.Sdk//5.15-21.08 org.kde.Platform//5.15-21.08 io.qt.qtwebengine.BaseApp/x86_64/5.15-21.08 org.freedesktop.Sdk.Extension.llvm13
|
||||
# sudo flatpak-builder --download-only --user --force-clean --repo=local retrodeck-flatpak-cooker net.retrodeck.retrodeck.yml
|
||||
# sudo flatpak-builder --download-only --user --force-clean --repo=$GITHUB_WORKSPACE/local retrodeck-flatpak-cooker net.retrodeck.retrodeck.yml
|
||||
|
||||
# # - name: Generating build specific cache
|
||||
# # id: intenral-cache
|
||||
|
@ -101,7 +101,7 @@ jobs:
|
|||
# sudo apt install flatpak flatpak-builder p7zip-full
|
||||
# sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
||||
# sudo flatpak install -y org.kde.Sdk//5.15-21.08 org.kde.Platform//5.15-21.08 io.qt.qtwebengine.BaseApp/x86_64/5.15-21.08 org.freedesktop.Sdk.Extension.llvm13
|
||||
# sudo flatpak-builder --download-only --user --force-clean --repo=local retrodeck-flatpak-cooker net.retrodeck.retrodeck.yml
|
||||
# sudo flatpak-builder --download-only --user --force-clean --repo=$GITHUB_WORKSPACE/local retrodeck-flatpak-cooker net.retrodeck.retrodeck.yml
|
||||
|
||||
Job3_-_Building_part_1:
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -133,16 +133,16 @@ jobs:
|
|||
sudo apt install flatpak flatpak-builder p7zip-full
|
||||
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
||||
sudo flatpak install -y org.kde.Sdk//5.15-21.08 org.kde.Platform//5.15-21.08 io.qt.qtwebengine.BaseApp/x86_64/5.15-21.08 org.freedesktop.Sdk.Extension.llvm13
|
||||
sudo flatpak-builder --download-only --user --force-clean --repo=local retrodeck-flatpak-cooker net.retrodeck.retrodeck.yml
|
||||
sudo flatpak-builder --download-only --user --force-clean --repo=$GITHUB_WORKSPACE/local retrodeck-flatpak-cooker net.retrodeck.retrodeck.yml
|
||||
|
||||
- name: Bulding part 1 - Until melonds
|
||||
#if: steps.cache-cooker.outputs.cache-hit != 'true'
|
||||
run: sudo flatpak-builder --build-only --stop-at=melonds --user --force-clean --repo=local retrodeck-flatpak-cooker net.retrodeck.retrodeck.yml
|
||||
run: sudo flatpak-builder --build-only --stop-at=melonds --user --force-clean --repo=$GITHUB_WORKSPACE/local retrodeck-flatpak-cooker net.retrodeck.retrodeck.yml
|
||||
|
||||
- name: Compressing cache
|
||||
run: |
|
||||
touch retrodeck-cooker.tar.gz
|
||||
tar --ignore-failed-read -czvf retrodeck-cooker.tar.gz .flatpak-builder retrodeck-flatpak-cooker
|
||||
tar --ignore-failed-read -czvf retrodeck-cooker.tar.gz .flatpak-builder retrodeck-flatpak-cooker local
|
||||
|
||||
- name: Upload build specific cache
|
||||
uses: actions/upload-artifact@v3
|
||||
|
@ -183,12 +183,12 @@ jobs:
|
|||
#if: steps.cache-cooker.outputs.cache-hit != 'true'
|
||||
run: |
|
||||
#cd $GITHUB_WORKSPACE
|
||||
sudo flatpak-builder --build-only --user --force-clean --repo=local retrodeck-flatpak-cooker net.retrodeck.retrodeck.yml
|
||||
sudo flatpak-builder --build-only --user --force-clean --repo=$GITHUB_WORKSPACE/local retrodeck-flatpak-cooker net.retrodeck.retrodeck.yml
|
||||
|
||||
- name: Compressing cache
|
||||
run: |
|
||||
touch retrodeck-cooker.tar.gz
|
||||
tar --ignore-failed-read -czvf retrodeck-cooker.tar.gz .flatpak-builder retrodeck-flatpak-cooker
|
||||
tar --ignore-failed-read -czvf retrodeck-cooker.tar.gz .flatpak-builder retrodeck-flatpak-cooker local
|
||||
|
||||
- name: Upload build specific cache
|
||||
uses: actions/upload-artifact@v3
|
||||
|
@ -235,12 +235,12 @@ jobs:
|
|||
#if: steps.cache-cooker.outputs.cache-hit != 'true'
|
||||
run: |
|
||||
#cd $GITHUB_WORKSPACE
|
||||
sudo flatpak-builder --finish-only --user --force-clean --repo=local retrodeck-flatpak-cooker net.retrodeck.retrodeck.yml
|
||||
sudo flatpak-builder --finish-only --user --force-clean --repo=$GITHUB_WORKSPACE/local retrodeck-flatpak-cooker net.retrodeck.retrodeck.yml
|
||||
|
||||
- name: Compressing cache
|
||||
run: |
|
||||
touch retrodeck-cooker.tar.gz
|
||||
tar --ignore-failed-read -czvf retrodeck-cooker.tar.gz .flatpak-builder retrodeck-flatpak-cooker
|
||||
tar --ignore-failed-read -czvf retrodeck-cooker.tar.gz .flatpak-builder retrodeck-flatpak-cooker local
|
||||
|
||||
- name: Upload build specific cache
|
||||
uses: actions/upload-artifact@v3
|
||||
|
@ -292,7 +292,7 @@ jobs:
|
|||
- name: Compressing cache
|
||||
run: |
|
||||
touch retrodeck-cooker.tar.gz
|
||||
tar --ignore-failed-read -czvf retrodeck-cooker.tar.gz .flatpak-builder retrodeck-flatpak-cooker
|
||||
tar --ignore-failed-read -czvf retrodeck-cooker.tar.gz .flatpak-builder retrodeck-flatpak-cooker local
|
||||
|
||||
- name: Upload build specific cache
|
||||
uses: actions/upload-artifact@v3
|
||||
|
@ -353,7 +353,7 @@ jobs:
|
|||
- name: Compressing cache
|
||||
run: |
|
||||
touch retrodeck-cooker.tar.gz
|
||||
tar --ignore-failed-read -czvf retrodeck-cooker.tar.gz .flatpak-builder retrodeck-flatpak-cooker
|
||||
tar --ignore-failed-read -czvf retrodeck-cooker.tar.gz .flatpak-builder retrodeck-flatpak-cooker local
|
||||
|
||||
- name: Upload global cache
|
||||
uses: actions/upload-artifact@v3
|
||||
|
|
Loading…
Reference in a new issue