Skip to content

Commit

Permalink
fix: workflow fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hacheigriega committed Dec 12, 2023
1 parent 3b90a5f commit f5236b8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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: |
Expand All @@ -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
Expand All @@ -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/[email protected]
id: git_diff
with:
Expand Down

0 comments on commit f5236b8

Please sign in to comment.