From b46a77c5c90f1ff29cec75f8270edf071982d7ac Mon Sep 17 00:00:00 2001 From: Marc Cataford Date: Mon, 3 Jun 2024 00:11:42 -0400 Subject: [PATCH] ci: build and save artifact --- .forgejo/workflows/release.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .forgejo/workflows/release.yml diff --git a/.forgejo/workflows/release.yml b/.forgejo/workflows/release.yml new file mode 100644 index 0000000..87d3e82 --- /dev/null +++ b/.forgejo/workflows/release.yml @@ -0,0 +1,16 @@ +on: + push: + tags: + - 'v[0-9]+.[0-9]+.[0-9]+' + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 + with: + go-version: 1.22 + - run: go build . + - uses: actions/upload-artifact@v4 + path: ./spud