diff --git a/.github/workflows/beta-release.yaml b/.github/workflows/beta-release.yaml new file mode 100644 index 0000000..9fd0d35 --- /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 }}