Skip to content

Update All GameLibs

Update All GameLibs #4

name: Update All GameLibs
on:
workflow_dispatch:
jobs:
list-games:
name: List games in repository
runs-on: ubuntu-latest
outputs:
games: ${{ steps.list.outputs.folders }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: List games
id: list
uses: kmanimaran/list-folder-action@v4
with:
path: ./Games
dispatch-game-update-checks:
name: Dispatch game update checks
runs-on: ubuntu-latest
needs: list-games
strategy:
matrix:
game: ${{ fromJson(needs.list-games.outputs.games) }}
uses: ./.github/workflows/checkGameForUpdates.yml

Check failure on line 29 in .github/workflows/checkAllGamesForUpdates.yml

View workflow run for this annotation

GitHub Actions / Update All GameLibs

Invalid workflow file

The workflow is not valid. .github/workflows/checkAllGamesForUpdates.yml (Line: 29, Col: 5): Unexpected value 'uses' .github/workflows/checkAllGamesForUpdates.yml (Line: 30, Col: 5): Unexpected value 'with'
with:
game: ${{ matrix.game }}