Create beta-release.yaml

This commit is contained in:
Lost Paul 2024-06-04 09:08:23 +02:00 committed by GitHub
parent 3fb7b37aaf
commit 45e21ea0db
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

21
.github/workflows/beta-release.yaml vendored Normal file
View file

@ -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 }}