From 21b8e5c6d3a3601641c3b12d1947cc7544037dc7 Mon Sep 17 00:00:00 2001 From: Matt Van Horn <455140+mvanhorn@users.noreply.github.com> Date: Tue, 14 Apr 2026 17:42:15 -0400 Subject: [PATCH] ci: auto-build .skill artifact on tag push and attach to GitHub release --- .github/workflows/release.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..24de0e9 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,31 @@ +name: Release + +on: + push: + tags: + - "v*" + +permissions: + contents: write + +jobs: + build-and-release: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Build .skill artifact + run: | + bash scripts/build-skill.sh + test -f dist/last30days.skill + + - name: Create GitHub release + uses: softprops/action-gh-release@v2 + with: + files: dist/last30days.skill + generate_release_notes: true + draft: false + prerelease: false