From 73acbe027372b76fe3e93736ecc2b0e5e6b16f9b 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..5cafed9 --- /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: github.com/actions/setup-go@v5 + with: + go-version: 1.22 + - run: go build . + - uses: actions/upload-artifact@v4 + path: ./spud