diff --git a/.github/workflows/prepare-build-env/action.yml b/.github/workflows/prepare-build-env/action.yml index bf1ae45c..b113f85b 100644 --- a/.github/workflows/prepare-build-env/action.yml +++ b/.github/workflows/prepare-build-env/action.yml @@ -25,3 +25,9 @@ runs: with: cache-disabled: true arguments: rdgen + + - name: 🏗 Prepare dependencies + uses: gradle/gradle-build-action@v2 + with: + cache-disabled: true + arguments: setupDependencies diff --git a/build.gradle b/build.gradle index f684ada3..c2ec9a2f 100644 --- a/build.gradle +++ b/build.gradle @@ -62,6 +62,8 @@ task setBuildTool { task compileDotNet { dependsOn setBuildTool + dependsOn setupDependencies + doLast { def arguments = setBuildTool.args.clone() arguments << "/t:Restore;Rebuild"