Skip to content

Commit

Permalink
Added GOENV
Browse files Browse the repository at this point in the history
  • Loading branch information
chray-zhang committed Nov 14, 2024
1 parent d6ac9ab commit 0cd1f98
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/relayer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,10 @@ jobs:
aws-lambda-url: ${{ secrets.GATI_RELENG_LAMBDA_URL }}
aws-region: ${{ secrets.QA_AWS_REGION }}
- name: Setup Go with private repo access
shell: bash
run: |
# Set up Git to use GitHub token for authentication
git config --global credential.helper store
echo "https://${GITHUB_TOKEN}:[email protected]" > ~/.git-credentials
# Configure GOPRIVATE
go env -w GOPRIVATE=github.com/smartcontractkit/gauntlet-plus-plus
git config --global url."https://${GITHUB_TOKEN}@github.com/".insteadOf "https://github.com/"
go env -w GOPRIVATE=github.com/smartcontractkit/*
env:
GITHUB_TOKEN: ${{ steps.setup-github-token.outputs.access-token }}
- name: Ensure "make gomodtidy" has been run
Expand Down

0 comments on commit 0cd1f98

Please sign in to comment.