From c0ddccf7cfd2ab70d14256dcfa383e3dcc8c9631 Mon Sep 17 00:00:00 2001 From: Michael McCracken Date: Mon, 1 Apr 2024 17:52:46 -0700 Subject: [PATCH] build: release on focal and jammy this will build on both focal and jammy and release both binaries. Signed-off-by: Michael McCracken --- .github/workflows/build.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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 }}