Skip to content

Commit

Permalink
Fix: Configure global git credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
Anny0nn committed Jan 2, 2025
1 parent 697eb26 commit b38ac7c
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/frontier-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
persist-credentials: true

- name: Configure global git credentials
run: |
git config --global credential.helper store
echo "https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com" > ~/.git-credentials
git config --global url."https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/".insteadOf "https://github.com/"
- name: Install deps
run: sudo apt -y install protobuf-compiler

Expand All @@ -32,9 +38,9 @@ jobs:

- name: Configure Cargo
run: |
mkdir -p .cargo
echo '[net]' >> .cargo/config.toml
echo 'git-fetch-with-cli = true' >> .cargo/config.toml
mkdir -p ~/.cargo
echo '[net]' >> ~/.cargo/config.toml
echo 'git-fetch-with-cli = true' >> ~/.cargo/config.toml
- name: Build Centrum
run: cargo build --release
Expand Down

0 comments on commit b38ac7c

Please sign in to comment.