Skip to content

Release

Release #4

Workflow file for this run

name: Release
on:
workflow_dispatch:
jobs:
build:
uses: ./.github/workflows/build.yml

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

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

error parsing called workflow ".github/workflows/release.yml" -> "./.github/workflows/build.yml" (source branch with sha:6d446b388439b9f5726bd6bde05a1cae443cdbdd) : workflow is not reusable as it is missing a `on.workflow_call` trigger
release:
runs-on: ubuntu-latest
needs: build
steps:
# https://github.com/actions/checkout/issues/1471
- uses: actions/checkout@v4
with:
fetch-depth: 0
filter: tree:0
- uses: actions/download-artifact@v4
- id: tag
run: echo "latest=$(git describe --tags --abbrev=0)" >> $GITHUB_OUTPUT
- run: echo ${{ steps.tag.outputs.latest }}
- uses: softprops/action-gh-release@v2
with:
draft: true
name: ${{ steps.tag.outputs.latest }}
tag_name: ${{ steps.tag.outputs.latest }}
files: artifact/*