Truly independent web browser
CI: Cache wasm-tools in a directory that does not depend on step output
Jelle Raaijmakers484f4e5551db
diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.ymlindex 440066db312..a378e13eb14 100644--- a/.github/actions/setup/action.yml+++ b/.github/actions/setup/action.yml@@ -167,7 +167,8 @@ runs:if: ${{ inputs.type == 'build' && inputs.os != 'Linux' }}uses: actions/cache@v6with:- path: ${{ github.workspace }}/${{ steps.wasm-tools.outputs.name }}+ # The post-job save evaluates `path` without the steps context, so it must not depend on step outputs.+ path: ${{ github.workspace }}/wasm-toolskey: ${{ steps.wasm-tools.outputs.name }}- name: 'Install wasm-tools'@@ -195,11 +196,12 @@ runs:tar -xzf "${FILENAME}"firm "${FILENAME}"+ mv "${{ steps.wasm-tools.outputs.name }}" wasm-tools- name: 'Add wasm-tools to PATH'if: ${{ inputs.type == 'build' && inputs.os != 'Linux' }}shell: bash- run: echo "${GITHUB_WORKSPACE}/${{ steps.wasm-tools.outputs.name }}" >> "$GITHUB_PATH"+ run: echo "${GITHUB_WORKSPACE}/wasm-tools" >> "$GITHUB_PATH"- name: 'Set required environment variables'if: ${{ inputs.os == 'Linux' && inputs.arch == 'arm64' }}