Skip to content

Commit 3536ae4

Browse files
committed
fix setting of output from go version step
1 parent 1cb2926 commit 3536ae4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/vulncheck.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,12 @@ jobs:
3737
ref: ${{ inputs.targetBranch || 'main' }}
3838

3939
- name: Check Go version
40-
outputs:
41-
go-version: ${{ steps.get-go-version.outputs.go-version }}
4240
id: get-go-version
4341
run: |
4442
echo "Reading from go.mod"
4543
GO_VERSION=$(grep '^go ' go.mod | awk '{print $2}')
4644
echo "Found $GO_VERSION"
45+
echo "go-version="$GO_VERSION"" >> $GITHUB_OUTPUT
4746
4847
4948
- name: Run govulncheck

0 commit comments

Comments
 (0)