From 9e2cd260d5c7af3388d67f9cdba3379567af577c Mon Sep 17 00:00:00 2001 From: zuadi <159902586+zuadi@users.noreply.github.com> Date: Wed, 30 Apr 2025 08:10:16 +0200 Subject: [PATCH] Update build.yml add token for actions --- .github/workflows/build.yml | 5 +++++ 1 file changed, 5 insertions(+) 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