bump version #27
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
on: | |
push: | |
tags: | |
- '*.*.*' | |
workflow_dispatch: | |
inputs: | |
tag: | |
description: 'Test scenario tags' | |
required: true | |
type: string | |
permissions: | |
contents: write | |
name: Publish Release | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dtolnay/rust-toolchain@stable | |
- name: Install wasm-pack | |
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: latest | |
- name: Install Dependencies | |
run: npm install | |
- name: Build | |
run: npm run wasm-build | |
- name: Create release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
tag="${GITHUB_REF#refs/tags/}" | |
gh release create "$tag" \ | |
--title="$tag" \ | |
--draft \ | |
main.js manifest.json styles.css pkg/obsidian_typst_bg.wasm |