Skip to content

Commit

Permalink
ugh
Browse files Browse the repository at this point in the history
  • Loading branch information
adamewozniak committed Jan 18, 2024
1 parent f2df445 commit 2dfad25
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 2dfad25

Please sign in to comment.