diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 4ecdb2d..318c75e 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -4,8 +4,11 @@ on: name: build jobs: build: + strategy: + matrix: + os: [ubuntu-20.04, ubuntu-22.04] name: build - runs-on: ubuntu-22.04 + runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v3 - name: Set up golang @@ -62,6 +65,7 @@ jobs: go get -v ./... make cp atomfs ~/bin + cp atomfs atomfs-${{ matrix.os }} - name: test run: | export PATH=~/bin:$PATH @@ -79,4 +83,4 @@ jobs: if: startsWith(github.ref, 'refs/tags/') with: files: | - atomfs + atomfs-${{ matrix.os }}