Skip to content

Commit ecc9e4a

Browse files
committed
chore: replace version in target files
1 parent 7c78720 commit ecc9e4a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/runtime-ci.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -363,8 +363,13 @@ jobs:
363363
- name: Create NuGet SDK Packages
364364
run: |
365365
cd nuget
366-
ls -la
366+
367+
# Adjust version numbers for target files
368+
find . -name 'runtime/*.*' -exec sed -i "s/\$buildversion\$/\${{ steps.gitversion.outputs.semVer }}/g" {} \;
369+
370+
# Unzip all packages in separate folders
367371
find . -name '*.zip' -exec sh -c 'unzip -d "${1%.*}" "$1"' _ {} \;
372+
368373
dotnet pack Uno.NETCore.App.Runtime.Mono.browser-wasm.csproj /p:OutputPath=$GITHUB_WORKSPACE/ci-output "/p:Version=${{ steps.gitversion.outputs.semVer }}"
369374
370375
- uses: actions/upload-artifact@v2

0 commit comments

Comments
 (0)