From f5236b8cf01aec690ec93a800d6c0d8627a2acf0 Mon Sep 17 00:00:00 2001 From: Hyoung-yoon Kim Date: Tue, 12 Dec 2023 11:25:56 +0900 Subject: [PATCH] fix: workflow fix --- .github/workflows/test.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1c3370dd..8875b6d6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,7 +21,7 @@ jobs: build: runs-on: ubuntu-latest env: - USERNAME: ${{ github.actor }} + USERNAME: ${{ github.actor }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GONOSUMDB: github.com/sedaprotocol/vrf-go # GOPRIVATE: github.com/sedaprotocol/vrf-go @@ -58,7 +58,7 @@ jobs: GITHUB_USERNAME: ${{ github.actor }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - git config --global url."https://${GITHUB_TOKEN}@github.com/".insteadOf "https://github.com/" + git config --global url."https://${GITHUB_USERNAME}:${GITHUB_TOKEN}@github.com/".insteadOf "https://github.com/" - name: Compile if: steps.cache-binaries.outputs.cache-hit != 'true' && env.GIT_DIFF run: | @@ -69,7 +69,7 @@ jobs: runs-on: ubuntu-latest env: GOPRIVATE: github.com/sedaprotocol/vrf-go - USERNAME: ${{ github.actor }} + GITHUB_USERNAME: ${{ github.actor }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: - uses: actions/checkout@v4 @@ -79,7 +79,7 @@ jobs: check-latest: true cache: true cache-dependency-path: go.sum - - run: git config --global url.https://${GITHUB_TOKEN}@github.com/.insteadOf https://github.com/ + - run: git config --global url.https://$${GITHUB_USERNAME}:{GITHUB_TOKEN}@github.com/.insteadOf https://github.com/ - uses: technote-space/get-diff-action@v6.1.2 id: git_diff with: