Skip to content

Commit

Permalink
fix(ci): Fix release action to work on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
adamrodger committed Feb 16, 2022
1 parent 4470b30 commit afaf205
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,13 @@ jobs:

- name: Pack
run: |
$VERSION = "${{ github.ref_name }}"
VERSION="${{ github.ref_name }}"
echo "Version: $VERSION"
dotnet pack -c Release --include-source -p:Version=$VERSION -o ./dist src/PactNet/PactNet.csproj
dotnet pack -c Release --include-source -p:Version=$VERSION -o ./dist src/PactNet.Abstractions/PactNet.Abstractions.csproj
- name: Push
run: dotnet nuget push .\dist\*.nupkg --source $env:NUGET_FEED --skip-duplicate --api-key ${{ secrets.NUGET_API_KEY }}
run: dotnet nuget push ./dist/*.nupkg --source $NUGET_FEED --skip-duplicate --api-key ${{ secrets.NUGET_API_KEY }}

- name: Release
uses: softprops/action-gh-release@v1
Expand Down

0 comments on commit afaf205

Please sign in to comment.