File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ permissions:
88
99jobs :
1010 build-linux :
11+ environment : UnityTranslate Build
1112 runs-on : ubuntu-latest
1213
1314 steps :
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
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
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
Original file line number Diff line number Diff 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())
You can’t perform that action at this time.
0 commit comments