Skip to content

Commit 7e7232b

Browse files
committed
Fix action input since choice was converted to boolean.
1 parent 47bbc64 commit 7e7232b

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

.github/workflows/main.yaml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,9 @@ on:
44
workflow_dispatch:
55
inputs:
66
upload_packages:
7-
description: "Upload packages to anaconda (yes/no)?"
87
required: true
9-
type: choice
10-
default: 'no'
11-
options:
12-
- no
13-
- yes
8+
description: "Upload packages to anaconda?"
9+
type: boolean
1410

1511
jobs:
1612
build:
@@ -63,4 +59,4 @@ jobs:
6359
env:
6460
ANACONDA_TOKEN: ${{ secrets.ANACONDA_TOKEN }}
6561
ANACONDA_LABEL: main
66-
if: github.event.inputs.upload_packages == 'yes'
62+
if: {{ inputs.upload_packages }}

0 commit comments

Comments
 (0)