From ff8349194ef979962589d09ae9ca99ecde13e098 Mon Sep 17 00:00:00 2001 From: Duy Tran Khanh Date: Wed, 19 Apr 2023 19:35:02 +0700 Subject: [PATCH] properly skip building of gl4es --- .github/workflows/development.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/development.yml b/.github/workflows/development.yml index 431090b5..fcf14089 100644 --- a/.github/workflows/development.yml +++ b/.github/workflows/development.yml @@ -57,14 +57,14 @@ jobs: key: gl4es-holy-ios-shared-2-${{ steps.gl4es-sha.outputs.sha }} - name: Get gl4es - if: steps.gl4es-cache.outputs.cache-hit != 'true' + if: success() && steps.gl4es-cache.outputs.cache-hit != 'true' uses: actions/checkout@v2 with: repository: 'PojavLauncherTeam/gl4es-114-extra' path: 'gl4es' - name: Build gl4es - if: steps.gl4es-cache.outputs.cache-hit != 'true' + if: success() && steps.gl4es-cache.outputs.cache-hit != 'true' continue-on-error: true run: | cd gl4es @@ -79,7 +79,7 @@ jobs: cp -R lib/libGL.dylib ../Natives/resources/Frameworks/libgl4es_114.dylib - name: Push gl4es - if: github.event != 'pull_request' && github.ref_name == 'main' && steps.gl4es-cache.outputs.cache-hit != 'true' + if: success() && github.event != 'pull_request' && github.ref_name == 'main' && steps.gl4es-cache.outputs.cache-hit != 'true' continue-on-error: true run: | git add Natives/resources/Frameworks/libgl4es_114.dylib