Skip to content

chore(release): 0.0.14 #16

chore(release): 0.0.14

chore(release): 0.0.14 #16

Workflow file for this run

name: Release Obsidian Plugin
on:
workflow_dispatch:
inputs:
bump:
default: false
description: "Bump version based on semantic release"
type: boolean
required: false
beta:
default: false
description: "Beta release"
type: boolean
required: false
push:
tags:
- "*"
permissions:
contents: write
packages: write
jobs:
release:
if: (github.event_name == 'push') || (github.event_name == 'workflow_dispatch' && !inputs.bump)
uses: mara-li/reusable-workflows/.github/workflows/obsidian-plugin-release.yaml@main
with:
PLUGIN_NAME: better-canvas-lock
STYLE: true
BETA: ${{ inputs.beta || false}}

Check failure on line 28 in .github/workflows/release.yaml

View workflow run for this annotation

GitHub Actions / Release Obsidian Plugin

Invalid workflow file

The workflow is not valid. .github/workflows/release.yaml (Line: 28, Col: 13): Invalid input, BETA is not defined in the referenced workflow.
secrets:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
bump-version-and-release:
if: ${{ inputs.bump }}
uses: mara-li/reusable-workflows/.github/workflows/obsidian-plugin-bump-version.yaml@main
with:
PLUGIN_NAME: better-canvas-lock
STYLE: true
BETA: ${{ inputs.beta }}
secrets:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}