Skip to content

Commit c41ee61

Browse files
committed
update publish
1 parent 72d6c35 commit c41ee61

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@ jobs:
1313

1414
steps:
1515

16+
- run: echo github.event.head_commit.message: ${{ github.event.head_commit.message }}
17+
1618
- name: No publish loop
17-
if: contains( github.event.head_commit, '***NO_CI***')
19+
if: contains( github.event.head_commit.message, '***NO_CI***')
1820
run: exit 123
1921

2022
- uses: actions/checkout@v1
@@ -63,4 +65,5 @@ jobs:
6365
run: nuget sources add -name nugetfeed -source ${{ secrets.NUGET_FEED }} -username anything -password ${{ secrets.NUGET_AUTH }}
6466

6567
- name: Publish NuGet
66-
run: for %i in (${{ runner.temp }}\final\*.nupkg) do nuget push %i -Source ${{ secrets.NUGET_FEED }}
68+
run: |
69+
for %%i in (${{ runner.temp }}\final\*.nupkg) do nuget push %%i -Source ${{ secrets.NUGET_FEED }}

0 commit comments

Comments
 (0)