We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a31a674 commit 049ebacCopy full SHA for 049ebac
jobs/increment-variable/action.yaml
@@ -13,6 +13,9 @@ inputs:
13
description: "Whether the build-number will be increment or not"
14
required: false
15
default: 'false'
16
+ github-token:
17
+ description: "Github token to use to update the variable"
18
+ required: true
19
outputs:
20
build-number:
21
description: "The next build number to build"
@@ -25,6 +28,7 @@ runs:
25
28
name: Increment Variable
26
29
uses: actions/github-script@v6
27
30
with:
31
+ github-token: ${{ inputs.github-token }}
32
result-encoding: string
33
script: |
34
const var_name = 'BUILD_NUMBER'
0 commit comments