Update build.yml
add token for actions
This commit is contained in:
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@@ -27,6 +27,11 @@ jobs:
|
||||
with:
|
||||
go-version: '1.24.0'
|
||||
|
||||
- name: Set up Git credentials for private modules
|
||||
run: |
|
||||
git config --global url."https://${{ secrets.GH_PAT }}@github.com/".insteadOf "https://github.com/"
|
||||
echo "GOPRIVATE=github.com/tecamino/*" >> $GITHUB_ENV
|
||||
|
||||
- name: Build binary
|
||||
run: |
|
||||
mkdir -p build
|
||||
|
Reference in New Issue
Block a user