restore cache on all but ubuntu and latest go

gh-actions
Dean Karn 4 years ago
parent 3bb4866602
commit e3a9ac5b17
  1. 2
      .github/workflows/workflow.yml

@ -18,7 +18,7 @@ jobs:
go-version: ${{ matrix.go-version }} go-version: ${{ matrix.go-version }}
- name: Restore Cache - name: Restore Cache
if: matrix.os != 'ubuntu-latest' && matrix.go-version != '1.15.x' if: matrix.os != 'ubuntu-latest' || matrix.go-version != '1.15.x'
uses: actions/cache@v2 uses: actions/cache@v2
with: with:
path: ~/go/pkg/mod path: ~/go/pkg/mod

Loading…
Cancel
Save