Skip to content

Commit 7d8cd9e

Browse files
authored
Improve [no-release]
1 parent fad9d72 commit 7d8cd9e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/nuget-publish.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ on:
66

77
jobs:
88
publish:
9-
if: "! contains(toJSON(github.event.commits.*.message), '[no-release]')"
109
runs-on: ubuntu-latest
1110

1211
steps:
@@ -37,9 +36,11 @@ jobs:
3736
run: dotnet pack ./OpenActive.NET/OpenActive.NET.csproj --configuration Release --include-source --no-build -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg
3837

3938
- name: Push to Nuget
39+
if: "! contains(toJSON(github.event.commits.*.message), '[no-release]')"
4040
run: dotnet nuget push "./OpenActive.NET/**/*.nupkg" -k ${{secrets.NUGET_API_KEY}} --skip-duplicate -s https://api.nuget.org/v3/index.json
4141

4242
- name: Create Release
43+
if: "! contains(toJSON(github.event.commits.*.message), '[no-release]')"
4344
id: create_release
4445
uses: actions/create-release@v1
4546
env:

0 commit comments

Comments
 (0)