new name ob2qualkard plugin v0.1
This commit is contained in:
38
.github/workflows/release.yml
vendored
38
.github/workflows/release.yml
vendored
@@ -1,4 +1,25 @@
|
||||
name: Release Obsidian plugin
|
||||
# **************************************************************************
|
||||
# * (C)opyright 2026 by Ruben Carlo Benante *
|
||||
# * *
|
||||
# * This program is free software; you can redistribute it and/or modify *
|
||||
# * it under the terms of the GNU General Public License as published by *
|
||||
# * the Free Software Foundation, either version 3 of the License, or *
|
||||
# * (at your option) any later version. *
|
||||
# * *
|
||||
# * This program is distributed in the hope that it will be useful, *
|
||||
# * but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
# * GNU General Public License for more details. *
|
||||
# * *
|
||||
# * You should have received a copy of the GNU General Public License *
|
||||
# * along with this program. If not, see http://www.gnu.org/licenses/. *
|
||||
# * *
|
||||
# * Contact author at: *
|
||||
# * Ruben Carlo Benante *
|
||||
# * rcb@beco.cc *
|
||||
# **************************************************************************
|
||||
|
||||
name: Release Zettelclean
|
||||
|
||||
on:
|
||||
push:
|
||||
@@ -7,7 +28,7 @@ on:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: slackware-15
|
||||
permissions:
|
||||
contents: write
|
||||
id-token: write
|
||||
@@ -19,12 +40,17 @@ jobs:
|
||||
uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version: 24
|
||||
cache: 'npm'
|
||||
|
||||
# Node ships corepack, which selects the pnpm version pinned in
|
||||
# package.json ("packageManager"). If this self-hosted runner has no
|
||||
# Node, drop the setup-node step above and rely on a preinstalled Node.
|
||||
- name: Enable pnpm
|
||||
run: corepack enable
|
||||
|
||||
- name: Build plugin
|
||||
run: |
|
||||
npm ci
|
||||
npm run build
|
||||
pnpm install --frozen-lockfile
|
||||
pnpm run build
|
||||
|
||||
- name: Check for optional styles
|
||||
id: styles
|
||||
@@ -45,6 +71,6 @@ jobs:
|
||||
tag="${GITHUB_REF#refs/tags/}"
|
||||
|
||||
gh release create "$tag" \
|
||||
--title="$tag" \
|
||||
--title="Zettelclean $tag" \
|
||||
--draft \
|
||||
main.js manifest.json ${{ steps.styles.outputs.exists == 'true' && 'styles.css' || '' }}
|
||||
|
||||
Reference in New Issue
Block a user