File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 12
12
BUILD_BOT_PERSONAL_ACCESS_TOKEN : ${{ secrets.BUILD_BOT_PERSONAL_ACCESS_TOKEN }}
13
13
WGE_DOCKER_IO_USER : ${{ secrets.WGE_DOCKER_IO_USER }}
14
14
WGE_DOCKER_IO_PASSWORD : ${{ secrets.WGE_DOCKER_IO_PASSWORD }}
15
- WGE_NPM_GITHUB_TOKEN : ${{ secrets.WGE_NPM_GITHUB_TOKEN }}
16
15
WGE_S3_AWS_ACCESS_KEY_ID : ${{ secrets.WGE_S3_AWS_ACCESS_KEY_ID }}
17
16
WGE_S3_AWS_SECRET_ACCESS_KEY : ${{ secrets.WGE_S3_AWS_SECRET_ACCESS_KEY }}
18
17
50
49
uses : actions/setup-go@v2
51
50
with :
52
51
go-version : 1.18.X
52
+ - name : Configure git for private modules
53
+ env :
54
+ GITHUB_BUILD_USERNAME : wge-build-bot
55
+ GITHUB_BUILD_TOKEN : ${{ secrets.BUILD_BOT_PERSONAL_ACCESS_TOKEN }}
56
+ run : |
57
+ git config --global url."https://${GITHUB_BUILD_USERNAME}:${GITHUB_BUILD_TOKEN}@github.com".insteadOf "https://github.com"
53
58
- name : Set env var
54
59
run : |
55
60
echo "LDFLAGS=$(make echo-ldflags)" >> $GITHUB_ENV
You can’t perform that action at this time.
0 commit comments