Skip to content

Commit aea9443

Browse files
committed
i appear to have forgotten something
1 parent f7916f7 commit aea9443

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ permissions:
88

99
jobs:
1010
build-linux:
11+
environment: UnityTranslate Build
1112
runs-on: ubuntu-latest
1213

1314
steps:
@@ -17,6 +18,7 @@ jobs:
1718
with:
1819
java-version: '17'
1920
distribution: 'temurin'
21+
- uses: actions-rust-lang/setup-rust-toolchain@v1
2022
# Taken from https://github.com/CaffeineMC/sodium-fabric/blob/1.19.3/dev/.github/workflows/gradle.yml
2123
- name: Cache/Uncache
2224
uses: actions/cache@v4
@@ -48,6 +50,7 @@ jobs:
4850
with:
4951
java-version: '17'
5052
distribution: 'temurin'
53+
- uses: actions-rust-lang/setup-rust-toolchain@v1
5154
# Taken from https://github.com/CaffeineMC/sodium-fabric/blob/1.19.3/dev/.github/workflows/gradle.yml
5255
- name: Cache/Uncache
5356
uses: actions/cache@v4
@@ -79,6 +82,7 @@ jobs:
7982
with:
8083
java-version: '17'
8184
distribution: 'temurin'
85+
- uses: actions-rust-lang/setup-rust-toolchain@v1
8286
# Taken from https://github.com/CaffeineMC/sodium-fabric/blob/1.19.3/dev/.github/workflows/gradle.yml
8387
- name: Cache/Uncache
8488
uses: actions/cache@v4
@@ -110,6 +114,7 @@ jobs:
110114
with:
111115
java-version: '17'
112116
distribution: 'temurin'
117+
- uses: actions-rust-lang/setup-rust-toolchain@v1
113118
# Taken from https://github.com/CaffeineMC/sodium-fabric/blob/1.19.3/dev/.github/workflows/gradle.yml
114119
- name: Cache/Uncache
115120
uses: actions/cache@v4

native/build.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,8 @@ tasks {
185185
}
186186

187187
create("moveTargetFiles") {
188+
dependsOn("rustBuild", "downloadCTranslate2")
189+
188190
doFirst {
189191
val nativesDir = layout.buildDirectory.get().dir("ut_natives")
190192
if (!nativesDir.asFile.exists())

0 commit comments

Comments
 (0)