Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
barjonp committed Jan 15, 2024
1 parent 30e2983 commit e0e34a1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build-opensilver-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,16 @@ jobs:
# run: echo "suffix=$(date +'%Y-%m-%d-%H%M%S')-${{ env.GITHUB_SHA_SHORT }}" >> $GITHUB_OUTPUT
- name: Format Package Version
id: format-version
run: echo "version=${{ env.next-release-version }}-preview-$(date +'%Y-%m-%d-%H%M%S')-${{ env.GITHUB_SHA_SHORT }}" >> $GITHUB_OUTPUT
run: echo "version=${{ env.next-release-version }}-preview-$(date +'%Y-%m-%d-%H%M%S')-${{ env.GITHUB_SHA_SHORT }}" >> $env:GITHUB_OUTPUT
- name: Build Simulator
working-directory: build
run: msbuild slnf/OpenSilver.Simulator.slnf -p:Configuration=Release -clp:ErrorsOnly -restore
- name: Pack OpenSilver
working-directory: build
run: |
echo "start test"
echo ${{ steps.format-version.outputs.version }}
echo "end test"
mkdir temp; echo "OpenSilver ${{ steps.format-version.outputs.version }}" > temp/Version.txt
nuget.exe pack nuspec\OpenSilver.nuspec -OutputDirectory "output/OpenSilver" -Properties "PackageVersion=${{ steps.format-version.outputs.version }};Configuration=Release;RepositoryUrl=https://github.com/${{ env.GITHUB_REPOSITORY_OWNER_PART }}/${{ env.GITHUB_REPOSITORY_NAME_PART }}"
- name: Pack Simulator
Expand Down

0 comments on commit e0e34a1

Please sign in to comment.