Skip to content

Commit

Permalink
Added gosub registry
Browse files Browse the repository at this point in the history
  • Loading branch information
jaytaph committed Dec 24, 2024
1 parent 91bdde2 commit ed1847d
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ jobs:
key: ${{ matrix.os }}-cargo-registry-${{ matrix.rust_version }}-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ matrix.os }}-cargo-registry-${{ matrix.rust_version }}-
- name: Add Gosub crate registry
run: |
echo "[registries.gosub]" >> ~/.cargo/config.toml
echo "index = \"sparse+https://registry.gosub.io/\"" >> ~/.cargo/config.toml
echo "" >> ~/.cargo/config.toml
- name: Cache cargo build
uses: actions/cache@v4
with:
Expand Down Expand Up @@ -73,6 +78,11 @@ jobs:
key: ${{ matrix.os }}-cargo-registry-${{ matrix.rust_version }}-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ matrix.os }}-cargo-registry-${{ matrix.rust_version }}-
- name: Add Gosub crate registry
run: |
echo "[registries.gosub]" >> ~/.cargo/config.toml
echo "index = \"sparse+https://registry.gosub.io/\"" >> ~/.cargo/config.toml
echo "" >> ~/.cargo/config.toml
- name: Cache cargo build
uses: actions/cache@v4
with:
Expand Down Expand Up @@ -106,6 +116,11 @@ jobs:
key: ${{ matrix.os }}-cargo-registry-${{ matrix.rust_version }}-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ matrix.os }}-cargo-registry-${{ matrix.rust_version }}-
- name: Add Gosub crate registry
run: |
echo "[registries.gosub]" >> ~/.cargo/config.toml
echo "index = \"sparse+https://registry.gosub.io/\"" >> ~/.cargo/config.toml
echo "" >> ~/.cargo/config.toml
- name: Cache cargo build
uses: actions/cache@v4
with:
Expand All @@ -128,6 +143,11 @@ jobs:
key: ${{ runner.os }}-cargo-registry-${{ matrix.rust_version }}-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-registry-${{ matrix.rust_version }}-
- name: Add Gosub crate registry
run: |
echo "[registries.gosub]" >> ~/.cargo/config.toml
echo "index = \"sparse+https://registry.gosub.io/\"" >> ~/.cargo/config.toml
echo "" >> ~/.cargo/config.toml
- name: Cache cargo build
uses: actions/cache@v4
with:
Expand Down

0 comments on commit ed1847d

Please sign in to comment.