diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index dfcc64d..bd4e91c 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -50,8 +50,10 @@ jobs: if [ -n "${{ matrix.goarm }}" ]; then echo "GOARM=${{ matrix.goarm }}" >> $GITHUB_ENV fi + - name: Setup git to use token debug + run: echo git config --global url."https://${GITHUB_ACTOR}:${{ secrets.GITEA_TOKEN }}@git.maze.io/".insteadOf "https://git.maze.io/" - name: Setup git to use token - run: git config --global url."https://${{ secrets.GITEA_TOKEN }}@git.maze.io/".insteadOf "https://git.maze.io/" + run: git config --global url."https://${GITHUB_ACTOR}:${{ secrets.GITEA_TOKEN }}@git.maze.io/".insteadOf "https://git.maze.io/" - name: Download modules run: go mod download - name: Make build directory