Skip to content

Dispatch Update Submodule #15

Dispatch Update Submodule

Dispatch Update Submodule #15

Workflow file for this run

name: Dispatch Update Submodule
on:
push:
branches:
- main
workflow_dispatch: {}
jobs:
check_version:
name: Check version
runs-on: ubuntu-latest
outputs:
changed: ${{ steps.check_version.outputs.changed }}
version: ${{ steps.check_version.outputs.version }}
prev_version: ${{ steps.check_version.outputs.prev_version }}
steps:
- uses: actions/checkout@v4
- id: check_version
uses: radumarias/action-check-version-changed-rust@v1
dispatch:
needs: [check_version]
if: needs.check_version.outputs.changed = 'true'

Check failure on line 24 in .github/workflows/dispatch_update.yml

View workflow run for this annotation

GitHub Actions / Dispatch Update Submodule

Invalid workflow file

The workflow is not valid. .github/workflows/dispatch_update.yml (Line: 24, Col: 9): Unexpected symbol: '='. Located at position 37 within expression: needs.check_version.outputs.changed = 'true'
runs-on: ubuntu-latest
steps:
- name: Dispatch update to Personal Website
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.PAT }}
repository: organizedgrime/organizedgrime.github.io
event-type: update-submodule