Skip to content

Commit

Permalink
step id
Browse files Browse the repository at this point in the history
  • Loading branch information
dojyorin committed Mar 19, 2024
1 parent 54427ba commit 3e9a811
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/_fetch.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
"name": "deno version",
"runs-on": "ubuntu-latest",
"outputs": {
"deno_version": "${{steps[0].outputs.deno_version}}"
"deno_version": "${{steps.step.outputs.deno_version}}"
},
"steps": [{
"id": "0",
"id": "step",
"name": "fetch deno latest version",
"run": "echo deno_version=$(curl -Ls https://api.github.com/repos/denoland/deno/releases/latest | yq -o y '.tag_name') >> ${{github.output}}"
}]
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/_fetch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ jobs:
name: deno version
runs-on: ubuntu-latest
outputs:
deno_version: ${{steps[0].outputs.deno_version}}
deno_version: ${{steps.step.outputs.deno_version}}
steps:
- id: "0"
- id: step
name: fetch deno latest version
run: echo deno_version=$(curl -Ls https://api.github.com/repos/denoland/deno/releases/latest | yq -o y '.tag_name') >> ${{github.output}}

0 comments on commit 3e9a811

Please sign in to comment.