diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..60557cf --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,25 @@ +name: Release + +on: + push: + tags: + - 'v*' + +permissions: + contents: write + +jobs: + release: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Package and release to GitHub + uses: BigWigsMods/packager@v2 + env: + # Only GITHUB_OAUTH is set, so the packager attaches the zip to a + # GitHub Release and uploads nothing to CurseForge/WoWInterface/Wago. + GITHUB_OAUTH: ${{ secrets.GITHUB_TOKEN }}