Skip to content

Commit

Permalink
fix: github-token missing
Browse files Browse the repository at this point in the history
  • Loading branch information
shiipou committed Jun 21, 2023
1 parent a31a674 commit 049ebac
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions jobs/increment-variable/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ inputs:
description: "Whether the build-number will be increment or not"
required: false
default: 'false'
github-token:
description: "Github token to use to update the variable"
required: true
outputs:
build-number:
description: "The next build number to build"
Expand All @@ -25,6 +28,7 @@ runs:
name: Increment Variable
uses: actions/github-script@v6
with:
github-token: ${{ inputs.github-token }}
result-encoding: string
script: |
const var_name = 'BUILD_NUMBER'
Expand Down

0 comments on commit 049ebac

Please sign in to comment.