Skip to content

Commit

Permalink
build: release on focal and jammy
Browse files Browse the repository at this point in the history
this will build on both focal and jammy and release both binaries.

Signed-off-by: Michael McCracken <[email protected]>
  • Loading branch information
mikemccracken committed Apr 2, 2024
1 parent 44e0153 commit f3c1740
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,13 @@ on:
pull_request:
name: build
jobs:
os_matrix:
strategy:
matrix:
os: [ubuntu-20.04, ubuntu-22.04]
build:
name: build
runs-on: ubuntu-22.04
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up golang
Expand Down Expand Up @@ -62,6 +66,7 @@ jobs:
go get -v ./...
make
cp atomfs ~/bin
cp atomfs atomfs-${{ matrix.os }}
- name: test
run: |
export PATH=~/bin:$PATH
Expand All @@ -79,4 +84,4 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
atomfs
atomfs-${{ matrix.os }}

0 comments on commit f3c1740

Please sign in to comment.