From b2544f4750d72f0e78ee56871774de6d4ff9fc02 Mon Sep 17 00:00:00 2001 From: Lost Paul <70213368+LostPaul@users.noreply.github.com> Date: Tue, 4 Jun 2024 08:46:33 +0200 Subject: [PATCH] Create beta-release.yaml --- .github/workflows/beta-release.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/beta-release.yaml diff --git a/.github/workflows/beta-release.yaml b/.github/workflows/beta-release.yaml new file mode 100644 index 0000000..a6e230e --- /dev/null +++ b/.github/workflows/beta-release.yaml @@ -0,0 +1,21 @@ +# https://github.com/SilentVoid13/Templater/blob/master/.github/workflows/release.yml +name: Plugin beta release +on: + push: + tags: + - "[0-9]+.[0-9]+.[0-9]+" + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: npm build + run: | + npm install + npm run build --if-present + - name: Plugin beta release + uses: ncipollo/release-action@v1.12.0 + with: + artifacts: "main.js,manifest-beta.json,styles.css" + token: ${{ secrets.GITHUB_TOKEN }}