File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 1
1
# Inspired by https://github.com/actions/setup-go/issues/21#issuecomment-997208686
2
2
name : ' Install Go Tip'
3
3
description : ' Install Go Tip toolchain'
4
+ inputs :
5
+ gh_token :
6
+ description : ' The GitHub Token'
7
+ required : true
4
8
runs :
5
9
using : " composite"
6
10
steps :
51
55
# echo "$HOME/sdk/gotip/bin" >> "$GITHUB_PATH"
52
56
echo "success=${success}" >> $GITHUB_OUTPUT
53
57
env :
54
- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
58
+ GH_TOKEN : ${{ inputs.gh_token }}
55
59
56
60
# If download failed, we will try to build tip from source.
57
61
# This requires Go toolchain, so install it first.
Original file line number Diff line number Diff line change 29
29
30
30
- name : Install Go Tip
31
31
uses : ./.github/actions/setup-go-tip
32
+ with :
33
+ gh_token : ${{ secrets.GITHUB_TOKEN }}
32
34
33
35
- name : Install test deps
34
36
# even though the same target runs from test-ci, running it separately makes for cleaner log in GH workflow
You can’t perform that action at this time.
0 commit comments