From c5aca8652c0f178010a56a36b2a431586822d1f8 Mon Sep 17 00:00:00 2001 From: synacker Date: Mon, 2 Jun 2025 00:33:21 +0300 Subject: [PATCH] Fix signing --- .github/actions/deploy_with_sign/action.yaml | 2 -- .github/actions/enable_conan/action.yaml | 8 ++++++++ .github/workflows/sign.yaml | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/actions/deploy_with_sign/action.yaml b/.github/actions/deploy_with_sign/action.yaml index 62acb70a..f55ad59b 100644 --- a/.github/actions/deploy_with_sign/action.yaml +++ b/.github/actions/deploy_with_sign/action.yaml @@ -43,13 +43,11 @@ runs: slug: ${{inputs.sign-slug}} - name: Attest - if: inputs.sign != '' uses: actions/attest-build-provenance@v1 with: subject-path: "${{inputs.signeddir}}/**" - name: Upload Signed artifacts - if: ${{inputs.sign != ''}} id: upload uses: actions/upload-artifact@v4 with: diff --git a/.github/actions/enable_conan/action.yaml b/.github/actions/enable_conan/action.yaml index 594dd22b..b427ce41 100644 --- a/.github/actions/enable_conan/action.yaml +++ b/.github/actions/enable_conan/action.yaml @@ -31,3 +31,11 @@ runs: conan config install CI/conan conan install . --build=missing --profile:build=${{inputs.profile}} --profile:host=${{inputs.profile}} --output-folder=. ${{inputs.args}} conan cache clean "*" --source --build --temp --download + + - name: Always Save Cache + id: cache-save + if: always() && steps.cache.outputs.cache-hit != 'true' + uses: actions/cache/save@v4 + with: + path: ${{env.CONAN_STORAGE}} + key: ${{inputs.profile}} diff --git a/.github/workflows/sign.yaml b/.github/workflows/sign.yaml index 5e18e798..e74e8951 100644 --- a/.github/workflows/sign.yaml +++ b/.github/workflows/sign.yaml @@ -14,6 +14,6 @@ jobs: build: uses: ./.github/workflows/sign_build.yaml with: - sign: $${{inputs.sign-policy}} + sign: ${{inputs.sign-policy}} secrets: inherit \ No newline at end of file