Skip to content

Commit 30412de

Browse files
committed
Fix GITHUB_TOKEN env
1 parent 8e582c2 commit 30412de

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

action.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,16 @@ inputs:
88
description: "The version to install: Default: latest"
99
required: false
1010
default: "latest"
11+
token:
12+
description: "The GitHub token to use for the installation"
13+
required: false
14+
default: ${{ secrets.GITHUB_TOKEN }}
1115
runs:
1216
using: "composite"
1317
steps:
1418
# Run the action
1519
- name: Setup Flutter Version Management CLI
1620
shell: bash
1721
env:
18-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22+
GITHUB_TOKEN: ${{ inputs.token }}
1923
run: $GITHUB_ACTION_PATH/action.sh ${{ inputs.version }}

0 commit comments

Comments
 (0)