Skip to content

Update to version 1.5.4 #55

Update to version 1.5.4

Update to version 1.5.4 #55

Workflow file for this run

name: Build obsidian plugin
on:
push:
# Sequence of patterns matched against refs/tags
tags:
- '*' # Push events to matching any tag format, i.e. 1.0, 20.15.10
env:
PLUGIN_NAME: obsidian-ics
jobs:
build:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '20.x' # You might need to adjust this value to your own version
- name: Build
id: build
run: |
npm install
npm run build --if-present
npm run dev-build --if-present
mkdir ${{ env.PLUGIN_NAME }}
cp manifest.json dist/
cp dist/main.js dist/manifest.json ${{ env.PLUGIN_NAME }}
zip -r ${{ env.PLUGIN_NAME }}.zip ${{ env.PLUGIN_NAME }}
ls dist/
- name: Create release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
tag="${GITHUB_REF#refs/tags/}"
gh release create "$tag" \
--title="$tag" \
--draft \
dist/main.js dist/manifest.json dist/main-debug.js ${{ env.PLUGIN_NAME }}.zip