Skip to content

Commit 545f314

Browse files
committed
set shell explicitly
Signed-off-by: James Sturtevant <jsturtevant@gmail.com>
1 parent 878ea8e commit 545f314

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,14 @@ jobs:
3434
run: dotnet test --no-build --verbosity normal
3535
- name: Pack
3636
run: dotnet pack -c Release /p:BuildNumber=${{ github.run_number }}
37+
- name: Ensure package versions match
38+
run: |
39+
ls ./artifacts/*.nupkg
40+
version=$(unzip -p ./artifacts/*SDK*.nupkg '*.nuspec' | grep -oPm1 "(?<=<version>)[^<]+")
41+
echo "Version: $version"
42+
3743
- name: Test Template
44+
shell: bash
3845
run: |
3946
artifact_dir=${{ github.workspace }}/artifacts
4047
dotnet new install ./artifacts/BytecodeAlliance.Componentize.DotNet.Templates.*.nupkg

0 commit comments

Comments
 (0)