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 7, 2023
1 parent 60343f6 commit 56f6472
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ jobs:
runs-on: ubuntu-latest
env:
GOPRIVATE: github.com/sedaprotocol/vrf-go
USERNAME: ${{ github.actor }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
strategy:
matrix:
arch: [amd64, arm64]
Expand Down Expand Up @@ -51,7 +49,11 @@ jobs:
env:
GOOS: ${{ matrix.targetos }}
GOARCH: ${{ matrix.arch }}
- run: git config --global url.https://${GITHUB_TOKEN}@github.com/.insteadOf https://github.com/
- name: Configure private token
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git config --global url.https://${GITHUB_TOKEN}:[email protected]/.insteadOf https://github.com/
- name: Compile
if: steps.cache-binaries.outputs.cache-hit != 'true' && env.GIT_DIFF
run: |
Expand Down

0 comments on commit 56f6472

Please sign in to comment.