From 3daba146526d3d2b57f138a84c151e2af779a891 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 | 18 ++++++++++++++++++ 1 file changed, 18 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..f53e635 --- /dev/null +++ b/.forgejo/workflows/release.yml @@ -0,0 +1,18 @@ +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@v3 + with: + name: x64-build + path: ./spud