We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 878ea8e commit 545f314Copy full SHA for 545f314
.github/workflows/build.yml
@@ -34,7 +34,14 @@ jobs:
34
run: dotnet test --no-build --verbosity normal
35
- name: Pack
36
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
+
43
- name: Test Template
44
+ shell: bash
45
run: |
46
artifact_dir=${{ github.workspace }}/artifacts
47
dotnet new install ./artifacts/BytecodeAlliance.Componentize.DotNet.Templates.*.nupkg
0 commit comments