mirror of
https://github.com/voidlhf/StarRailGrubThemes.git
synced 2025-01-07 03:07:09 +08:00
fix(github): added missing output in generate-matrix job
This commit is contained in:
parent
3b62c82433
commit
8ee514f145
11
.github/workflows/nix.yml
vendored
11
.github/workflows/nix.yml
vendored
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user