AT protocol bookmarking platforms in obsidian
1name: Release Obsidian Plugin
2
3on:
4 push:
5 tags:
6 - "*"
7
8permissions:
9 contents: write
10
11jobs:
12 build:
13 runs-on: ubuntu-latest
14
15 steps:
16 - uses: actions/checkout@v4
17
18 - name: Use Node.js
19 uses: actions/setup-node@v4
20 with:
21 node-version: "18.x"
22
23 - name: Install dependencies
24 run: npm install
25
26 - name: Build plugin
27 run: npm run build
28
29 - name: Create release
30 env:
31 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32 run: |
33 tag="${{ github.ref_name }}"
34 gh release create "$tag" \
35 --title="$tag" \
36 --draft \
37 main.js manifest.json styles.css