Skip to content

Commit

Permalink
fix: testing env var
Browse files Browse the repository at this point in the history
  • Loading branch information
iowillhoit committed Sep 15, 2023
1 parent b32bf01 commit 7856b26
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/just-nut.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,13 @@ jobs:
# Otherwise each TestSession reinstalls the JIT plugin in its custom HOME dir
# The --jit flag ensures we get the JIT plugin version set in the sf package.json
run: |
echo "SF_DATA_DIR=${{ runner.temp }}/sf-data-dir" >> $GITHUB_ENV
echo "SF_DATA_DIR=${{ runner.temp }}/sf-data-dir" >> "$GITHUB_ENV"
RAW_URL=$(gh browse package.json --repo "${{ inputs.repository }}" --no-browser | sed 's/github.com/raw.githubusercontent.com/' | sed 's/tree\/main/main/')
NPM_NAME=$(curl --silent "$RAW_URL" | jq -r '.name')
sf plugins install "$NPM_NAME" --jit
- name: Log SF_DATA_DIR
run: |
echo "SF_DATA_DIR=${{ env.SF_DATA_DIR }}"
- name: Run NUT (with retries)
uses: nick-fields/retry@943e742917ac94714d2f408a0e8320f2d1fcafcd
with:
Expand Down

0 comments on commit 7856b26

Please sign in to comment.