File tree Expand file tree Collapse file tree 1 file changed +6
-13
lines changed
Expand file tree Collapse file tree 1 file changed +6
-13
lines changed Original file line number Diff line number Diff line change @@ -104,23 +104,16 @@ jobs:
104104 # || startsWith(github.ref, 'refs/heads/v')
105105 runs-on : ubuntu-latest
106106 steps :
107- - uses : actions/checkout@v3
107+ - name : Download Artifact
108+ uses : actions/download-artifact@v3
109+ with :
110+ name : nupkg
111+ - name : Display structure of downloaded files
112+ run : ls -R
108113 - name : Setup .NET Core
109114 uses : actions/setup-dotnet@v3
110115 with :
111116 dotnet-version : 7.x
112- source-url : https://nuget.pkg.github.com/shaprcode-it/index.json
113- env :
114- NUGET_AUTH_TOKEN : ${{secrets.GITHUB_TOKEN}}
115- - name : Create Release NuGet package
116- # run: dotnet pack -v normal -c Release --include-symbols --include-source -p:PackageVersion=${{ steps.gitversion.outputs.nuGetVersionV2 }} -o nupkg src/$PROJECT_NAME/$PROJECT_NAME.*proj
117- run : dotnet pack -v normal -c Release --include-symbols --include-source -p:PackageVersion=${{ steps.gitversion.outputs.nuGetVersionV2 }} ./SharpHelpers/SharpHelpers.sln
118- # - name: Push to GitHub Feed
119- # run: |
120- # for f in ./nupkg/*.nupkg
121- # do
122- # curl -vX PUT -u "$GITHUB_USER:$GITHUB_TOKEN" -F package=@$f $GITHUB_FEED
123- # done
124117 - name : Publish the package to GitHub
125118 run : dotnet nuget push "*.nupkg" --source "https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json" --api-key ${{ secrets.GITHUB_TOKEN }}
126119 - name : Push to NuGet Feed
You can’t perform that action at this time.
0 commit comments