From 3fb7b37aafee4f95ff0517a43ef6ffdc0f70f2c4 Mon Sep 17 00:00:00 2001 From: Lost Paul <70213368+LostPaul@users.noreply.github.com> Date: Tue, 4 Jun 2024 09:04:03 +0200 Subject: [PATCH 1/2] Delete .github/workflows/beta-release.yaml --- .github/workflows/beta-release.yaml | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 .github/workflows/beta-release.yaml diff --git a/.github/workflows/beta-release.yaml b/.github/workflows/beta-release.yaml deleted file mode 100644 index 9fd0d35..0000000 --- a/.github/workflows/beta-release.yaml +++ /dev/null @@ -1,21 +0,0 @@ -# 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 45e21ea0dbb868f5d47c42f91f58880719d605c7 Mon Sep 17 00:00:00 2001 From: Lost Paul <70213368+LostPaul@users.noreply.github.com> Date: Tue, 4 Jun 2024 09:08:23 +0200 Subject: [PATCH 2/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..76860aa --- /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 }}