Skip to content

Commit

Permalink
cleaner
Browse files Browse the repository at this point in the history
  • Loading branch information
directionless committed Aug 3, 2023
1 parent a18f3bd commit c505cbc
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,9 @@ jobs:
strategy:
fail-fast: false
matrix:
os:
- ubuntu
artifactos:
# artifactos needs to match the runner.os set by the builds. (Which is not quite the same as matrix.os)
- linux
- macos
- windows
needs: exec_testing
Expand All @@ -142,20 +143,20 @@ jobs:
uses: actions/cache/restore@v3
with:
path: ./build
key: ${{ matrix.os == 'ubuntu' && 'Linux' || matrix.os }}-${{ github.run_id }}
key: ${{ matrix.artifactos }}-${{ github.run_id }}
enableCrossOsArchive: true

- name: Upload Build
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.os }}-build
name: ${{ matrix.artifactos }}-build
path: build/
if-no-files-found: error

- name: Upload coverage
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.os }}-coverage.out
name: ${{ matrix.artifactos }}-coverage.out
path: coverage.out


Expand Down

0 comments on commit c505cbc

Please sign in to comment.