Skip to content

Commit 3f6f567

Browse files
committed
Retrieve tag message on macOS only
The publish job is run on macOS only and this specific syntax fails on PowerShell when running on Windows.
1 parent c5a6d45 commit 3f6f567

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ jobs:
4545
name: ${{ steps.dotnet-pack.outputs.nupkg-filename }}
4646
path: ${{ steps.dotnet-pack.outputs.nupkg-filename }}
4747
- name: Retrieve tag message
48+
if: matrix.os == 'macos-latest'
4849
run: |
4950
git fetch --tags --force
5051
RELEASE_NOTES=$(git tag --list ${{ steps.dotnet-pack.outputs.version }} --format='%(contents)')

0 commit comments

Comments
 (0)