Skip to content

Commit 9b396bd

Browse files
show go version
Signed-off-by: Nicolas-Peiffer <102670102+Nicolas-Peiffer@users.noreply.github.com>
1 parent fed14f8 commit 9b396bd

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/Goreleaser.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,23 @@ on:
1111
- update-go1.25.1 # TODO : remove after
1212

1313
jobs:
14-
show-setup-go-version-from-file:
14+
setup-go-version-from-file:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- uses: actions/checkout@v5
1818
- name: setup go version
19+
id: setup-go
1920
uses: actions/setup-go@v6
2021
with:
2122
go-version-file: ${{ github.workspace }}/go.mod # same version than the one in the go.mod
2223

23-
- name: Show go version
24+
- name: Show go version from command
2425
run: go version
2526

27+
- name: Show go version from github action
28+
run: echo ${{ steps.setup-go.outputs.go-version }}
29+
30+
2631
goreleaser:
2732
runs-on: ubuntu-latest
2833
env:

0 commit comments

Comments
 (0)