File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1515 matrix :
1616 go-version : [1.13.x, 1.14.x]
1717 os : [ubuntu-latest, macos-latest, windows-latest]
18- runs-on : ${{ matrix.platform }}
18+ runs-on : ${{ matrix.os }}
1919 steps :
2020 - name : Install Go
2121 uses : actions/setup-go@v2
@@ -88,7 +88,7 @@ language](https://docs.github.com/en/actions/reference/context-and-expression-sy
8888
8989` ` ` yaml
9090- name: Run end-to-end tests on Linux
91- if: github.event_name == 'push' && matrix.platform == 'ubuntu-latest'
91+ if: github.event_name == 'push' && matrix.os == 'ubuntu-latest'
9292 run: go run ./endtoend
9393` ` `
9494
@@ -148,7 +148,7 @@ Use `sudo apt`, making sure to only run the step on Linux:
148148
149149` ` ` yaml
150150- name: Install Linux packages
151- if: matrix.platform == 'ubuntu-latest'
151+ if: matrix.os == 'ubuntu-latest'
152152 run: sudo apt update && sudo apt install -y --no-install-recommends mypackage
153153` ` `
154154
You can’t perform that action at this time.
0 commit comments