Skip to content

Commit e082bc2

Browse files
committed
ci: Improve quoting
1 parent e337bb4 commit e082bc2

File tree

1 file changed

+15
-14
lines changed

1 file changed

+15
-14
lines changed

.github/workflows/windows-matrix.yml

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,20 @@ jobs:
1515
generate_matrix:
1616
runs-on: ubuntu-latest
1717
outputs:
18-
matrix: ${{ steps.set-matrix.outputs.matrix }}
18+
matrix: "${{ steps.set-matrix.outputs.matrix }}"
1919
steps:
20-
- uses: actions/checkout@v3
20+
- uses: "actions/checkout@v3"
2121
- id: set-matrix
22-
run: python3 .github/scripts/generate_windows_matrix_build.py matrix
22+
run: "python3 .github/scripts/generate_windows_matrix_build.py matrix"
2323
msvc-build:
2424
needs: generate_matrix
2525
strategy:
2626
fail-fast: true
27-
matrix: ${{fromJson(needs.generate_matrix.outputs.matrix)}}
27+
matrix: "${{fromJson(needs.generate_matrix.outputs.matrix)}}"
2828

29-
uses: ./.github/workflows/msvc-build-preset.yml
29+
uses: "./.github/workflows/msvc-build-preset.yml"
3030
with:
31-
preset: ${{ matrix.preset }}
31+
preset: "${{ matrix.preset }}"
3232
artifactName: "loader_${{ matrix.preset }}"
3333
buildType: "RelWithDebInfo"
3434

@@ -38,37 +38,38 @@ jobs:
3838
- msvc-build
3939
runs-on: ubuntu-latest
4040
steps:
41-
- uses: actions/checkout@v3
41+
- uses: "actions/checkout@v3"
4242

4343
- name: Retrieve artifacts
44-
uses: actions/download-artifact@v3
44+
uses: "actions/download-artifact@v3"
4545
with:
4646
path: artifacts
4747

4848
- name: Organize artifacts
49-
run: python .github/scripts/organize_windows_artifacts.py "${{ github.workspace }}" "${{ github.workspace }}/openxr_loader"
49+
run: 'python .github/scripts/organize_windows_artifacts.py "${{ github.workspace }}" "${{ github.workspace }}/openxr_loader"'
5050

5151
- name: Upload combined artifact
52-
uses: actions/upload-artifact@v3
52+
uses: "actions/upload-artifact@v3"
5353
with:
5454
name: openxr_loader_windows
5555
path: "${{ github.workspace }}/openxr_loader"
5656

5757
# NuGet stuff now
5858

5959
- name: Setup NuGet
60-
uses: NuGet/setup-nuget@v1
60+
uses: "NuGet/setup-nuget@296fd3ccf8528660c91106efefe2364482f86d6f"
6161
with:
6262
nuget-version: "5.x"
63+
6364
- name: Stage loader and headers for NuGet
6465
shell: pwsh
65-
run: ${{ github.workspace }}/.azure-pipelines/nuget/stage_nuget.ps1 "${{ github.workspace }}/openxr_loader" "${{ github.workspace }}/specification/Makefile" "${{ github.workspace }}/openxr_loader_staging"
66+
run: '${{ github.workspace }}/.azure-pipelines/nuget/stage_nuget.ps1 "${{ github.workspace }}/openxr_loader" "${{ github.workspace }}/specification/Makefile" "${{ github.workspace }}/openxr_loader_staging"'
6667

6768
- name: Pack NuGet package
68-
run: nuget pack ${{ github.workspace }}/openxr_loader_staging/OpenXR.Loader.nuspec -OutputDirectory ${{ github.workspace }}/nuget
69+
run: 'nuget pack "${{ github.workspace }}/openxr_loader_staging/OpenXR.Loader.nuspec" -OutputDirectory "${{ github.workspace }}/nuget"'
6970

7071
- name: Upload NuGet artifact
71-
uses: actions/upload-artifact@v3
72+
uses: "actions/upload-artifact@v3"
7273
with:
7374
name: NuGet
7475
path: "${{ github.workspace }}/nuget"

0 commit comments

Comments
 (0)