aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/build.yml
diff options
context:
space:
mode:
authorDioEgizio <83089242+DioEgizio@users.noreply.github.com>2022-11-19 17:14:19 +0100
committerDioEgizio <83089242+DioEgizio@users.noreply.github.com>2022-11-19 17:14:19 +0100
commitc27ebde575e4b12aa38da962b18bb261bbe676b4 (patch)
tree6e07ee27214c084dd8ca9325d7f9501e3bd3e5ad /.github/workflows/build.yml
parent3482076a207444bbdd9a7667df40b80bce1c545c (diff)
downloadPrismLauncher-c27ebde575e4b12aa38da962b18bb261bbe676b4.tar.gz
PrismLauncher-c27ebde575e4b12aa38da962b18bb261bbe676b4.tar.bz2
PrismLauncher-c27ebde575e4b12aa38da962b18bb261bbe676b4.zip
fix(actions): fix cache on flatpak
currently there's a [bug](https://github.com/flatpak/flatpak-github-actions/issues/80) on the stable version of the flatpak action which causes the cache key to be wrong. this commit work arounds it Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r--.github/workflows/build.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 20fe66dd..c0e5b50a 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -487,6 +487,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Checkout
+ if: inputs.build_type == 'Debug'
uses: actions/checkout@v3
with:
submodules: 'true'
@@ -524,3 +525,4 @@ jobs:
with:
bundle: "Prism Launcher.flatpak"
manifest-path: flatpak/org.prismlauncher.PrismLauncher.yml
+ cache-key: flatpak-${{ github.sha }}-x86_64