Skip to content

🔖 1.4.2

🔖 1.4.2 #28

Workflow file for this run

name: Release Obsidian plugin
on:
push:
tags:
- "*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4
with:
node-version-file: ".node-version"
cache: "pnpm"
- run: pnpm install
- run: pnpm build
- run: |
tag="${GITHUB_REF#refs/tags/}"
gh release create "$tag" \
--generate-notes \
main.js manifest.json styles.css
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}