This commit is contained in:
Andrea Spacca
2023-03-01 18:09:43 +09:00
parent b392f9977a
commit 55b74294d6

View File

@@ -21,12 +21,13 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Install Go ${{ matrix.go_version }}
if: matrix.go-version != 'tip'
if: ${{ matrix.go_version }} != 'tip'
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
check-latest: true
- name: Install Go ${{ matrix.go_version }}
if: matrix.go-version == 'tip'
if: ${{ matrix.go_version }} == 'tip'
run: |
curl -sL https://storage.googleapis.com/go-build-snap/go/linux-amd64/$(git ls-remote https://github.com/golang/go.git HEAD | awk '{print $1;}').tar.gz -o gotip.tar.gz
ls -lah gotip.tar.gz