Skip to content

Commit f03799e

Browse files
committed
chore: add environment to protect nuget push
1 parent 9f828c6 commit f03799e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,13 @@ on:
77

88
jobs:
99
pack:
10+
environment: nuget
1011
runs-on: ubuntu-latest
1112
steps:
1213
- uses: actions/checkout@v2
13-
14-
- name: Setup NuGet.exe for use with actions
15-
uses: NuGet/[email protected]
14+
- uses: NuGet/[email protected]
1615
with:
1716
nuget-api-key: ${{ secrets.NUGETAPIKEY }}
18-
1917
- name: Nuget Push
2018
run: |
2119
Version=${GITHUB_REF:10}

0 commit comments

Comments
 (0)