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 15
15
matrix :
16
16
go-version : [1.13.x, 1.14.x]
17
17
os : [ubuntu-latest, macos-latest, windows-latest]
18
- runs-on : ${{ matrix.platform }}
18
+ runs-on : ${{ matrix.os }}
19
19
steps :
20
20
- name : Install Go
21
21
uses : actions/setup-go@v2
@@ -88,7 +88,7 @@ language](https://docs.github.com/en/actions/reference/context-and-expression-sy
88
88
89
89
` ` ` yaml
90
90
- 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'
92
92
run: go run ./endtoend
93
93
` ` `
94
94
@@ -148,7 +148,7 @@ Use `sudo apt`, making sure to only run the step on Linux:
148
148
149
149
` ` ` yaml
150
150
- name: Install Linux packages
151
- if: matrix.platform == 'ubuntu-latest'
151
+ if: matrix.os == 'ubuntu-latest'
152
152
run: sudo apt update && sudo apt install -y --no-install-recommends mypackage
153
153
` ` `
154
154
You can’t perform that action at this time.
0 commit comments