-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f2df445
commit 2dfad25
Showing
1 changed file
with
3 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,14 +24,10 @@ jobs: | |
GOOS: ${{ matrix.targetos }} | ||
GOARCH: ${{ matrix.arch }} | ||
|
||
- name: Configure Git for GitHub Actions | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "GitHub Actions" | ||
- name: Set GOPRIVATE for private repositories | ||
run: echo "export GOPRIVATE=github.com/ojo-network" >> $GITHUB_ENV | ||
- name: Authenticate with GitHub Package Registry | ||
run: echo "//${{ github.token }}:[email protected].github.com/:_authToken=${{ github.token }}" > ~/.npmrc | ||
run: echo "export GOPRIVATE=github.com/ojo-network/indexer" >> $GITHUB_ENV | ||
- name: Set GOPRIVATE for private repository | ||
run: go env -w GOPRIVATE=github.com/ojo-network/example-repo | ||
|
||
- name: Compile | ||
run: | | ||
|