Skip to content

Commit d65bfb2

Browse files
Push issue corrected.
1 parent a387972 commit d65bfb2

1 file changed

Lines changed: 6 additions & 8 deletions

File tree

.github/workflows/dotnet-desktop.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,9 @@ jobs:
3737
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
3838
uses: mathieudutour/github-tag-action@v6.2
3939
with:
40-
github_token: ${{ github.token }}
41-
tag_prefix: ""
40+
github_token: ${{ github.token }}
41+
default_bump: minor
42+
tag_prefix: ""
4243

4344
- name: Fetch tags
4445
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
@@ -50,10 +51,7 @@ jobs:
5051

5152
- name: Publish NuGet
5253
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
53-
run: dotnet nuget push '**/*.nupkg' \
54-
-k $NUGET \
55-
-s https://api.nuget.org/v3/index.json \
56-
--skip-duplicate \
57-
--no-symbols
54+
run: |
55+
dotnet nuget push "artifacts/*.nupkg" --api-key "$NUGET" --source "https://api.nuget.org/v3/index.json" --skip-duplicate --no-symbols
5856
env:
59-
NUGET: ${{ secrets.NUGET }}
57+
NUGET: ${{ secrets.NUGET }}

0 commit comments

Comments
 (0)