File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -11,11 +11,16 @@ jobs:
1111 - uses : actions/setup-dotnet@v1
1212 - uses : actions/checkout@v2
1313 with :
14- ref : $GITHUB_REF
14+ ref : ${{ github.event.release.tag_name }}
1515 fetch-depth : 0
1616 - name : build
1717 run : dotnet build --configuration Release
1818 - name : pack
19- run : dotnet pack --no-build --configuration Release mongo-declarative-indexes/mongo-declarative-indexes.csproj -p:PackageVersion=${{ github.event.release.tag_name }} --output .
19+ run : >
20+ dotnet pack mongo-declarative-indexes/mongo-declarative-indexes.csproj
21+ --no-build
22+ --configuration Release
23+ -p:PackageVersion=${{ github.event.release.tag_name }}
24+ --output .
2025 - name : push
2126 run : dotnet nuget push *.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{secrets.NUGET_API_KEY}}
You can’t perform that action at this time.
0 commit comments