From 9225057f5fe0521dd18fef04a75618396f7a5a9b Mon Sep 17 00:00:00 2001 From: Ben Cromwell Date: Mon, 3 Feb 2025 08:41:45 +0000 Subject: [PATCH] chore(CI): build the zip and attch to release closes #29 --- .github/workflows/zip.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/zip.yml diff --git a/.github/workflows/zip.yml b/.github/workflows/zip.yml new file mode 100644 index 0000000..0c82073 --- /dev/null +++ b/.github/workflows/zip.yml @@ -0,0 +1,28 @@ +name: Create and attach zip to release + +on: + push: + tags: + - 'v*.*.*' + - 'v*.*' + - 'v*' + +jobs: + release: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Prepare files + run: | + make build + make install + make build-server-module + + - name: Upload zip to release + uses: softprops/action-gh-release@v2 + if: startsWith(github.ref, 'refs/tags/') + with: + files: build/katapult.zip