chore: Bump version to 1.3.4 #12
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: Release Obsidian plugin | |
on: | |
push: | |
tags: | |
- "*" | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
# Since you can choose branches when using workflow_dispatch, we need to ... | |
- name: Make sure only tags are released | |
if: github.ref_type != 'tag' | |
run: exit 1 | |
- uses: actions/[email protected] | |
- uses: oven-sh/[email protected] | |
with: | |
bun-version: 1.0.24 | |
- name: Install dependencies | |
run: bun install | |
- name: Build plugin | |
run: bun run build | |
- name: Create release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
zip -r obsidian-create-task.zip main.js manifest.json styles.css | |
gh release create ${{ github.ref_name }} \ | |
--title="${{ github.ref_name }}" \ | |
--draft \ | |
obsidian-create-task.zip main.js manifest.json styles.css |