From c1d04ca5c133b3bc4e37e4ce017f68a1b7378597 Mon Sep 17 00:00:00 2001 From: Manoah Tervoort <149895ja@gmail.com> Date: Thu, 19 Dec 2024 19:44:44 +0100 Subject: [PATCH] ci: always execute cleanup --- .github/workflows/build.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fbaa30e6e..b1bf39637 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -77,8 +77,10 @@ jobs: APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.APPLE_APP_SPECIFIC_PASSWORD }} APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }} - name: Clean up keychain and provisioning profile - if: runner.os == 'macOS' - run: security delete-keychain $RUNNER_TEMP/app-signing.keychain-db + if: always() && runner.os == 'macOS' + run: | + rm -f $RUNNER_TEMP/build_certificate.p12 + security delete-keychain $RUNNER_TEMP/app-signing.keychain-db - name: Upload artifacts uses: actions/upload-artifact@v4 with: