Skip to content

Commit 50d0bc9

Browse files
committed
ci: update names, update publish to github
1 parent 2c59926 commit 50d0bc9

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

.github/workflows/branch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: CI
1+
name: CI Branch
22

33
on:
44
push:

.github/workflows/master.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: CI
1+
name: CI Master
22

33
on:
44
push:
@@ -33,6 +33,5 @@ jobs:
3333
name: nupkg
3434
path: artifacts/*
3535
- name: Publish to GitHub
36-
run: |
37-
dotnet tool install -g gpr --no-cache -v q
38-
gpr push "artifacts/*.nupkg" -k ${{ secrets.GH_DEPLOY_KEY }} || true
36+
run: dotnet nuget push "artifacts/*.nupkg" -s "github" -k ${{ secrets.GH_DEPLOY_KEY }} --skip-duplicate
37+

.github/workflows/production.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
name: CI
1+
name: CI Production
22

33
on:
44
push:
55
tags:
66
- 'v*'
77

88
jobs:
9-
build:
9+
build-publish-prod:
1010
runs-on: ubuntu-20.04
1111
steps:
1212
- name: Checkout

0 commit comments

Comments
 (0)