Skip to content

Commit 59f29fc

Browse files
authored
Update wfnetcorev2.yaml
1 parent f2957bc commit 59f29fc

File tree

1 file changed

+6
-13
lines changed

1 file changed

+6
-13
lines changed

.github/workflows/wfnetcorev2.yaml

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)