Skip to content

Commit be8d54b

Browse files
authored
Merge branch 'main' into fix/version-stamp-build-and-pack
2 parents e04c7e3 + 563e7ab commit be8d54b

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/publish-preview.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
uses: release-drafter/release-drafter@v7
5050
with:
5151
config-name: release-drafter.yml
52-
disable_autolabeler: true
52+
dry-run: true
5353
env:
5454
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5555

@@ -82,7 +82,7 @@ jobs:
8282
run: dotnet test --solution ${{ inputs.solution }} --configuration Release --no-restore
8383

8484
- name: Pack
85-
run: dotnet pack ${{ inputs.solution }} --configuration Release --no-build -o artifacts /p:Version=${{ steps.version.outputs.package_version }}
85+
run: dotnet pack ${{ inputs.solution }} --configuration Release --no-build -o artifacts /p:Version=${{ steps.version.outputs.package_version }} /p:InformationalVersion=${{ steps.version.outputs.package_version }}
8686

8787
- name: Publish to NuGet
8888
run: dotnet nuget push artifacts/**/*.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json --skip-duplicate

.github/workflows/publish-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949

5050
- name: Test
5151
if: inputs.hasTests == true
52-
run: dotnet test --solution ${{ inputs.solution }} --configuration Release --no-restore
52+
run: dotnet test --solution ${{ inputs.solution }} --no-build --configuration Release --no-restore
5353

5454
- name: Pack
5555
run: dotnet pack ${{ inputs.solution }} --configuration Release --no-build -o artifacts /p:Version=${{ steps.version.outputs.package_version }} /p:InformationalVersion=${{ steps.version.outputs.package_version }}

0 commit comments

Comments
 (0)