-
Notifications
You must be signed in to change notification settings - Fork 103
33 lines (29 loc) · 958 Bytes
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Release Creation
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/[email protected]
# Run minify
# - uses: actions/[email protected]
# with:
# node-version: '20'
# - run: npm install
# - run: npm run minify
# Update the GitHub release with the manifest and module archive files.
- name: Update Release with Files
id: create_version_release
uses: ncipollo/release-action@v1
with:
allowUpdates: true
name: ${{ github.event.release.name }}
draft: ${{ github.event.release.unpublished }}
prerelease: ${{ github.event.release.prerelease }}
token: ${{ secrets.GITHUB_TOKEN }}
artifacts: "./WotC material/all_WotC_*.js"
tag: ${{ github.event.release.tag_name }}
body: ${{ github.event.release.body }}