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:
|
with:
|
||||||
go-version: '1.24.0'
|
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
|
- name: Build binary
|
||||||
run: |
|
run: |
|
||||||
mkdir -p build
|
mkdir -p build
|
||||||
|
Reference in New Issue
Block a user