Release v1.7.0 #17
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Bundle and release | |
on: | |
push: | |
tags: | |
- "v*" | |
jobs: | |
release: | |
name: Release | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: Checkout theme | |
uses: actions/checkout@v4 | |
- name: Setup node | |
uses: actions/setup-node@v4 | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v4 | |
with: | |
version: latest | |
- name: Install dependencies | |
run: pnpm install | |
- name: Build and bundle theme into .asar | |
run: pnpm run build:rp | |
- name: Release bundled asar, json, and theme.css | |
uses: ncipollo/release-action@v1 | |
with: | |
artifacts: "bundle/*, *.theme.css" | |
makeLatest: true | |
generateReleaseNotes: true |