Skip to content

Commit 03ba2c6

Browse files
authored
Update CI.yml
1 parent bb05681 commit 03ba2c6

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/CI.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ name: CI
33
on: push
44

55
env:
6-
VERSION: 1337.0.0
7-
BRANCH: ''
8-
COMMIT: ''
6+
VERSION: '1.0.0-beta-5'
7+
BRANCH: 'master'
8+
COMMIT: 'ae02abedfe6a23e99f47e1b7c43342858ee7f14e'
99

1010
jobs:
1111
build:
@@ -41,3 +41,6 @@ jobs:
4141
dotnet new razortest -o ${GITHUB_WORKSPACE}/Test
4242
dotnet restore ${GITHUB_WORKSPACE}/Test/Test.csproj --source ${GITHUB_WORKSPACE}/lib
4343
dotnet test ${GITHUB_WORKSPACE}/Test
44+
- name: Push packages to NuGet.org
45+
run: |
46+
dotnet nuget push ${GITHUB_WORKSPACE}/template/*.nupkg -k ${{ secrets.NUGET_KEY }} -s https://api.nuget.org/v3/index.json --skip-duplicate

0 commit comments

Comments
 (0)