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 1/2] 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 }} From 914c111fa9408621620564ec75f7b0e9a88c1439 Mon Sep 17 00:00:00 2001 From: Lost Paul <70213368+LostPaul@users.noreply.github.com> Date: Tue, 4 Jun 2024 08:48:01 +0200 Subject: [PATCH 2/2] Update beta-release.yaml --- .github/workflows/beta-release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/beta-release.yaml b/.github/workflows/beta-release.yaml index a6e230e..9fd0d35 100644 --- a/.github/workflows/beta-release.yaml +++ b/.github/workflows/beta-release.yaml @@ -3,7 +3,7 @@ name: Plugin beta release on: push: tags: - - "[0-9]+.[0-9]+.[0-9]+" + - "[0-9]+.[0-9]+.[0-9-]+" jobs: build: