Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
YoEight committed Jun 27, 2024
1 parent 9a9ca07 commit 3da3eda
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/go-version.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
name: Get Go version
on:
workflow_call:
outputs:
go_version:
description: Currently supported Go version
value: ${{ jobs.provide_go_version.outputs.go_version }}

jobs:
provide_go_version:
runs-on: ubuntu-latest
env:
GO_VERSION: 1.22
outputs:
go_version: ${{ env.GO_VERSION }}
go_version: ${{ steps.get.outputs.version }}
steps:
- name: Get Go version
run: echo "Go version is $GO_VERSION"
id: get
run: echo "version=$GO_VERSION" >> $GITHUB_OUTPUT

0 comments on commit 3da3eda

Please sign in to comment.