From 8bf2a81e3e96ca614baf29918d22caeac269c5b1 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 | 17 +++++++++++++++++ 1 file changed, 17 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..8def862 --- /dev/null +++ b/.forgejo/workflows/release.yml @@ -0,0 +1,17 @@ +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: forgejo/upload-artifact@v4 + with: + path: ./spud