From bbb1f122b090fcff1cf7e7287acc9d738825c173 Mon Sep 17 00:00:00 2001 From: Krzysztof Borowy <6444719+krizzu@users.noreply.github.com> Date: Mon, 23 Feb 2026 14:58:28 +0100 Subject: [PATCH 1/2] fix cache issue --- .github/actions/setup-project/action.yml | 6 +++++- .github/workflows/release.yml | 4 ++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/actions/setup-project/action.yml b/.github/actions/setup-project/action.yml index f0af4cf7..68301951 100644 --- a/.github/actions/setup-project/action.yml +++ b/.github/actions/setup-project/action.yml @@ -14,6 +14,10 @@ inputs: required: false description: https://github.com/actions/setup-node/issues/899#issuecomment-1837381044 default: "false" + node-cache: + required: false + description: Cache strategy for setup-node. Set to empty string to disable + default: "yarn" runs: using: composite steps: @@ -35,4 +39,4 @@ runs: - uses: actions/setup-node@v4 with: node-version: ${{ inputs.node-version }} - cache: "yarn" + cache: ${{ inputs.node-cache }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7117c6e2..c6ad601a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,6 +34,8 @@ jobs: persist-credentials: "false" - name: Setup project uses: ./.github/actions/setup-project + with: + node-cache: "" - name: Setup Gradle uses: gradle/actions/setup-gradle@v5 - name: Build Android native library @@ -55,6 +57,8 @@ jobs: persist-credentials: "false" - name: Setup project uses: ./.github/actions/setup-project + with: + node-cache: "" - name: Setup Gradle uses: gradle/actions/setup-gradle@v5 - name: Build Apple native library From 8f7d857cde7e71f81ecd5304306830e75184ec03 Mon Sep 17 00:00:00 2001 From: Krzysztof Borowy <6444719+krizzu@users.noreply.github.com> Date: Mon, 23 Feb 2026 14:59:22 +0100 Subject: [PATCH 2/2] format --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c6ad601a..9d878cea 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -72,7 +72,7 @@ jobs: release: runs-on: ubuntu-latest needs: [check-release, build-android, build-apple] - if: '!failure() && !cancelled()' + if: "!failure() && !cancelled()" steps: - name: Checkout uses: actions/checkout@v4