chore: workflow

This commit is contained in:
Skyxim 2022-05-01 13:16:30 +08:00
parent 2dd7a87f4c
commit 6fce893428

View File

@ -15,6 +15,7 @@ jobs:
- name: Get latest go version
id: version
run: |
echo 'Branch ${{env.GITHUB_REF_NAME}}'
echo ::set-output name=go_version::$(curl -s https://raw.githubusercontent.com/actions/go-versions/main/versions-manifest.json | grep -oE '"version": "[0-9]{1}.[0-9]{1,}(.[0-9]{1,})?"' | head -1 | cut -d':' -f2 | sed 's/ //g; s/"//g')
- name: Setup Go
uses: actions/setup-go@v2