diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cacc0ce..938c3a7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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