Skip to content

chore(release): 7.2.5-1 #471

chore(release): 7.2.5-1

chore(release): 7.2.5-1 #471

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: "Make a beta release"
type: boolean
required: false
push:
tags:
- "*"
permissions:
contents: write
jobs:
echo:
runs-on: ubuntu-latest
steps:
- name: echo
run: |
echo EVENT NAME = ${{ github.event_name }}
echo BETA = ${{ inputs.beta || false}}
echo BUMP = ${{ inputs.bump || false}}
release:
if: (github.event_name == 'push') || (github.event_name == 'workflow_dispatch' && !inputs.bump)
uses: lisandra-dev/reusable-workflows/.github/workflows/obsidian-plugin-release.yaml@main
with:
PLUGIN_NAME: "obsidian-mkdocs-publisher"
STYLE: true
BETA: ${{ inputs.beta || false }}

Check failure on line 35 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / Release obsidian plugin

Invalid workflow file

The workflow is not valid. .github/workflows/release.yml (Line: 35, Col: 19): Invalid input, BETA is not defined in the referenced workflow.
SUBMODULE: true
CACHE: "pnpm"
secrets:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
bump-version-and-release:
if: ${{ inputs.bump }}
uses: lisandra-dev/reusable-workflows/.github/workflows/obsidian-plugin-bump-version.yaml@main
with:
PLUGIN_NAME: "obsidian-mkdocs-publisher"
STYLE: true
BETA: ${{ inputs.beta }}
SUBMODULE: true
CACHE: "pnpm"
secrets:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}