Skip to content

Commit 571cf56

Browse files
committed
In the off chance location may matteru
1 parent 1e375c5 commit 571cf56

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

.github/workflows/gradle-build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@ jobs:
1515
packages: write
1616

1717
steps:
18-
- name: Install Rust 1.68.0
19-
run: rustup install 1.68.0
20-
- name: Temporarily modify the rust toolchain version
21-
run: rustup override set 1.68.0
2218
- uses: actions/checkout@v4
2319
- uses: actions/cache@v4
2420
with:
@@ -32,6 +28,10 @@ jobs:
3228
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
3329
- uses: DeterminateSystems/nix-installer-action@main
3430
- uses: DeterminateSystems/flakehub-cache-action@main
31+
- name: Install Rust 1.68.0
32+
run: rustup install 1.68.0
33+
- name: Temporarily modify the rust toolchain version
34+
run: rustup override set 1.68.0
3535
- name: Build with Gradle
3636
run: nix develop --ignore-environment --command bash -c "./gradlew build"
3737
env:

.github/workflows/gradle-publish.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ jobs:
3030
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
3131
- uses: DeterminateSystems/nix-installer-action@main
3232
- uses: DeterminateSystems/magic-nix-cache-action@main
33+
- name: Install Rust 1.68.0
34+
run: rustup install 1.68.0
35+
- name: Temporarily modify the rust toolchain version
36+
run: rustup override set 1.68.0
3337
- name: Build with Gradle
3438
run: nix develop --ignore-environment --keep USERNAME --keep TOKEN --command bash -c "./gradlew build && ./gradlew publish"
3539
env:

0 commit comments

Comments
 (0)