Skip to content

Commit 3418b86

Browse files
committed
Update workflow_dispatch.inputs
1 parent 3fa5b43 commit 3418b86

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/master.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ on:
1515
inputs:
1616
deployToFeedz:
1717
description: 'Deploy the libraries to feedz.io'
18-
required: true
19-
default: false
18+
required: false
19+
default: 'false'
2020
deployToNuGet:
2121
description: 'Deploy the libraries to NuGet.org'
22-
required: true
23-
default: false
22+
required: false
23+
default: 'false'
2424

2525
env:
2626
BUILD_CONFIGURATION: Release
@@ -72,8 +72,8 @@ jobs:
7272

7373
- name: Push to feedz.io
7474
run: dotnet nuget push **/*.nupkg -k ${{ secrets.FEEDZ_API_KEY }} -s https://f.feedz.io/forevolve/exception-mapper/nuget/index.json
75-
if: ${{ env.INPUT_DEPLOYTOFEEDZ == true || github.event_name == 'pull_request' }}
75+
if: ${{ env.INPUT_DEPLOYTOFEEDZ == 'true' || github.event_name == 'pull_request' }}
7676

7777
- name: Push to NuGet.org
7878
run: dotnet nuget push **/*.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json
79-
if: ${{ env.INPUT_DEPLOYTONUGET == true || github.event_name == 'push' }}
79+
if: ${{ env.INPUT_DEPLOYTONUGET == 'true' || github.event_name == 'push' }}

0 commit comments

Comments
 (0)