Skip to content

Commit

Permalink
Use github context to access token
Browse files Browse the repository at this point in the history
  • Loading branch information
socheatsok78 committed May 30, 2024
1 parent 30412de commit c182af7
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,12 @@ inputs:
description: "The version to install: Default: latest"
required: false
default: "latest"
token:
description: "The GitHub token to use for the installation"
required: false
default: ${{ secrets.GITHUB_TOKEN }}
runs:
using: "composite"
steps:
# Run the action
- name: Setup Flutter Version Management CLI
shell: bash
env:
GITHUB_TOKEN: ${{ inputs.token }}
GITHUB_TOKEN: ${{ github.token }}
run: $GITHUB_ACTION_PATH/action.sh ${{ inputs.version }}

0 comments on commit c182af7

Please sign in to comment.