Skip to content

Commit

Permalink
change job name.
Browse files Browse the repository at this point in the history
  • Loading branch information
dojyorin committed Mar 18, 2024
1 parent d6d489d commit f66517f
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 20 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/_fetch.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,22 @@
"workflow_call": {
"outputs": {
"deno_version": {
"value": "${{jobs.fetch.outputs.deno_version}}"
"value": "${{jobs.job.outputs.deno_version}}"
}
}
}
},
"jobs": {
"fetch": {
"name": "fetch",
"job": {
"name": "deno version",
"runs-on": "ubuntu-latest",
"outputs": {
"deno_version": "${{steps.deno_version.outputs.value}}"
"deno_version": "${{steps.step.outputs.deno_version}}"
},
"steps": [{
"id": "deno_version",
"id": "step",
"name": "get deno latest version",
"run": "echo value=$(curl -Ls https://api.github.com/repos/denoland/deno/releases/latest | yq '.tag_name') >> ${{github.output}}"
"run": "echo deno_version=$(curl -Ls https://api.github.com/repos/denoland/deno/releases/latest | yq '.tag_name') >> ${{github.output}}"
}]
}
}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/_fetch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ on:
workflow_call:
outputs:
deno_version:
value: ${{jobs.fetch.outputs.deno_version}}
value: ${{jobs.job.outputs.deno_version}}
jobs:
fetch:
name: fetch
job:
name: deno version
runs-on: ubuntu-latest
outputs:
deno_version: ${{steps.deno_version.outputs.value}}
deno_version: ${{steps.step.outputs.deno_version}}
steps:
- id: deno_version
- id: step
name: get deno latest version
run: echo value=$(curl -Ls https://api.github.com/repos/denoland/deno/releases/latest | yq '.tag_name') >> ${{github.output}}
run: echo deno_version=$(curl -Ls https://api.github.com/repos/denoland/deno/releases/latest | yq '.tag_name') >> ${{github.output}}
4 changes: 2 additions & 2 deletions .github/workflows/_push.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
}
},
"jobs": {
"push": {
"name": "push: ${{matrix.os}}",
"job": {
"name": "${{matrix.os}}",
"runs-on": "ubuntu-latest",
"strategy": {
"fail-fast": true,
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/_push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ on:
type: string
required: true
jobs:
push:
name: 'push: ${{matrix.os}}'
job:
name: ${{matrix.os}}
runs-on: ubuntu-latest
strategy:
fail-fast: true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/_test.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
}
},
"jobs": {
"test": {
"name": "test: ${{matrix.os}}/${{matrix.arch}}",
"job": {
"name": "${{matrix.os}}/${{matrix.arch}}",
"runs-on": "ubuntu-latest",
"strategy": {
"fail-fast": true,
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ on:
type: string
required: true
jobs:
test:
name: 'test: ${{matrix.os}}/${{matrix.arch}}'
job:
name: ${{matrix.os}}/${{matrix.arch}}
runs-on: ubuntu-latest
strategy:
fail-fast: true
Expand Down

0 comments on commit f66517f

Please sign in to comment.