Update All GameLibs #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 GitHub Actions / Update All GameLibsInvalid workflow file
|
||
with: | ||
game: ${{ matrix.game }} | ||