Skip to content

Commit

Permalink
TEMP: fetch modified smoke tests
Browse files Browse the repository at this point in the history
  • Loading branch information
brettfo committed Mar 22, 2024
1 parent 395dbdf commit 23e137d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/smoke.yml
Expand Up @@ -44,7 +44,7 @@ jobs:
cat filtered.json
# Curl the smoke-test tests directory to get a list of tests to run
URL=https://api.github.com/repos/dependabot/smoke-tests/contents/tests
URL=https://api.github.com/repos/dependabot/smoke-tests/contents/tests?ref=dev/brettfo/nuget-dependencies
curl $URL > tests.json
# Select the names that match smoke-$test*.yaml, where $test is the .text value from filtered.json
Expand Down Expand Up @@ -84,7 +84,7 @@ jobs:
- name: Download test
if: steps.cache-smoke-test.outputs.cache-hit != 'true'
run: |
URL=https://api.github.com/repos/dependabot/smoke-tests/contents/tests/${{ matrix.suite.name }}
URL=https://api.github.com/repos/dependabot/smoke-tests/contents/tests/${{ matrix.suite.name }}?ref=dev/brettfo/nuget-dependencies
curl $(gh api $URL --jq .download_url) -o smoke.yaml
- name: Cache Smoke Test
Expand Down

0 comments on commit 23e137d

Please sign in to comment.