Skip to content

Workflow file for this run

on:
release:
types: [created]
permissions:
contents: write
jobs:
build:
name: Build
uses: ./.github/workflows/build.yaml

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

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yaml

Invalid workflow file

error parsing called workflow ".github/workflows/release.yaml" -> "./.github/workflows/build.yaml" (source tag with sha:cfb9697d6b1876244bc4ac95f859ca77bc8aaf20) : workflow is not reusable as it is missing a `on.workflow_call` trigger
release:
name: Release Build Package
runs-on: ubuntu-latest
needs: build
steps:
- name: Download Cardinal-Editor build
uses: actions/download-artifact@v4
- name: Rename build with tag
run: |
ls -R
mv cardinal-editor.zip cardinal-editor-${{ github.event.release.tag_name }}.zip
- name: Publish Build to corresponding Github Release
uses: skx/github-action-publish-binaries@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
args: 'cardinal-editor-${{ github.event.release.tag_name }}.zip'