mirror of
https://github.com/voidlhf/StarRailGrubThemes.git
synced 2025-01-08 11:37:42 +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:
|
generate-matrix:
|
||||||
name: Generate matrix data for build job
|
name: Generate matrix data for build job
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
outputs:
|
||||||
|
theme: ${{ steps.gen-matrix.outputs.theme }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Generate matrix
|
- name: Generate matrix
|
||||||
|
id: gen-matrix
|
||||||
run: |
|
run: |
|
||||||
THEMES=$(ls assets/themes | tr '[:upper:]' '[:lower:]' | sed 's/\./_/g' | jq --raw-input | jq --slurp -c)
|
THEMES=$(ls assets/themes | tr '[:upper:]' '[:lower:]' | sed 's/\./_/g' | jq --raw-input | jq --slurp -c)
|
||||||
|
echo "theme=$THEMES" >> $GITHUB_OUTPUT
|
||||||
echo "themes=$THEMES" >> $GITHUB_OUTPUT
|
|
||||||
build:
|
build:
|
||||||
needs:
|
needs: generate-matrix
|
||||||
- generate-matrix
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
theme: ${{ needs.generate-matrix.outputs.themes }}
|
theme: ${{ fromJSON(needs.generate-matrix.outputs.theme) }}
|
||||||
name: Build Nix
|
name: Build Nix
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
Loading…
Reference in New Issue
Block a user