fix(github): added missing output in generate-matrix job

This commit is contained in:
Wittano Bonarotti 2024-04-15 21:11:20 +02:00
parent 3b62c82433
commit 8ee514f145
No known key found for this signature in database
GPG Key ID: 81EC1690D9E354CF

View File

@ -22,19 +22,20 @@ jobs:
generate-matrix:
name: Generate matrix data for build job
runs-on: ubuntu-latest
outputs:
theme: ${{ steps.gen-matrix.outputs.theme }}
steps:
- uses: actions/checkout@v4
- name: Generate matrix
id: gen-matrix
run: |
THEMES=$(ls assets/themes | tr '[:upper:]' '[:lower:]' | sed 's/\./_/g' | jq --raw-input | jq --slurp -c)
echo "themes=$THEMES" >> $GITHUB_OUTPUT
echo "theme=$THEMES" >> $GITHUB_OUTPUT
build:
needs:
- generate-matrix
needs: generate-matrix
strategy:
matrix:
theme: ${{ needs.generate-matrix.outputs.themes }}
theme: ${{ fromJSON(needs.generate-matrix.outputs.theme) }}
name: Build Nix
runs-on: ubuntu-latest
steps: