Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
larseggert committed Sep 17, 2024
1 parent 6c6d0f6 commit 44bf010
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/actions/nss/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,14 +107,14 @@ runs:
- name: Cache NSS
id: cache
if: env.BUILD_NSS == '1'
if: env.BUILD_NSS == '1' && runner.environment == 'github-hosted'
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
with:
path: nss/dist
key: nss-${{ runner.os }}-${{ env.NSS_HEAD }}-${{ env.NSPR_HEAD }}

-name: Check if build is needed
if: env.BUILD_NSS == '1'
- name: Check if build is needed
if: env.BUILD_NSS == '1' && runner.environment == 'github-hosted'
shell: bash
run: |
if [ "${{ steps.cache.outputs.cache-hit }}" == "true" ]; then
Expand Down

0 comments on commit 44bf010

Please sign in to comment.