Skip to content

Commit

Permalink
another try that likely will fail
Browse files Browse the repository at this point in the history
Signed-off-by: Xiaoxuan Wang <[email protected]>
  • Loading branch information
wangxiaoxuan273 committed Jun 3, 2024
1 parent 569ed56 commit 0f17d5e
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ on:
- main
- release-*

env:
URL: $(jq -r 'keys_unsorted[0] as $k | .[$k].linux.amd64.url' src/lib/data/releases.json)
CHECKSUM: $(jq -r 'keys_unsorted[0] as $k | .[$k].linux.amd64.checksum' src/lib/data/releases.json)

defaults:
run:
shell: bash
Expand Down Expand Up @@ -63,11 +67,6 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Create test variables
run:
URL=$(jq -r 'keys_unsorted[0] as $k | .[$k].linux.amd64.url' src/lib/data/releases.json)
CHECKSUM=$(jq -r 'keys_unsorted[0] as $k | .[$k].linux.amd64.checksum' src/lib/data/releases.json)

- name: Setup ORAS using URL
uses: ./
Expand Down

0 comments on commit 0f17d5e

Please sign in to comment.