Skip to content

Commit

Permalink
Create latest workflow
Browse files Browse the repository at this point in the history
Signed-off-by: William So <polyipseity@gmail.com>
  • Loading branch information
polyipseity committed Mar 29, 2023
1 parent c3e7725 commit cfc49b4
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/latest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
on:
push:
tags:
- latest
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: actions/setup-node@v3
with:
cache: npm
node-version: 16
- run: npm install
- run: npm run build
- run: |
mkdir '${{vars.ID}}'
cp LICENSE.txt README.md manifest.json main.js requirements.txt styles.css '${{vars.ID}}'
zip -r '${{vars.ID}}.zip' '${{vars.ID}}'
- uses: softprops/action-gh-release@v0
with:
append_body: true
fail_on_unmatched_files: true
files: |
manifest.json
main.js
styles.css
${{vars.ID}}.zip
prerelease: true

0 comments on commit cfc49b4

Please sign in to comment.