Skip to content

Commit

Permalink
Github actions do not support else statements
Browse files Browse the repository at this point in the history
  • Loading branch information
ghemawat committed Aug 27, 2024
1 parent 712bb10 commit 5cfe9c9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ jobs:
if: matrix.go != 'tip'
with:
go-version: ${{ matrix.go }}
else:
# Bootstrapping go tip requires 1.22.6
go-version: 1.22

- name: Update Go version manually
if: matrix.go == 'tip'
with:
# Bootstrapping go tip requires 1.22.6
go-version: 1.22
working-directory: ${{ github.workspace }}
run: |
git clone https://go.googlesource.com/go $HOME/gotip
Expand Down Expand Up @@ -95,12 +95,12 @@ jobs:
if: matrix.go != 'tip'
with:
go-version: ${{ matrix.go }}
else:
# Bootstrapping go tip requires 1.22.6
go-version: 1.22

- name: Update Go version manually
if: matrix.go == 'tip'
with:
# Bootstrapping go tip requires 1.22.6
go-version: 1.22
working-directory: ${{ github.workspace }}
run: |
git clone https://go.googlesource.com/go $HOME/gotip
Expand Down

0 comments on commit 5cfe9c9

Please sign in to comment.