This commit is contained in:
parent
1f3ac81eb5
commit
1ed3e949d5
3 changed files with 4 additions and 2 deletions
2
.bazelrc
2
.bazelrc
|
|
@ -3,5 +3,5 @@ build --java_runtime_version=25
|
||||||
build --tool_java_language_version=25
|
build --tool_java_language_version=25
|
||||||
build --tool_java_runtime_version=25
|
build --tool_java_runtime_version=25
|
||||||
build --define=maven_repo=https://git.lab0x13.site/api/packages/scrow/maven
|
build --define=maven_repo=https://git.lab0x13.site/api/packages/scrow/maven
|
||||||
build --remote_cache=https://cache.lab0x13.site
|
build --remote_cache=https://cache.lab0x13.site:443
|
||||||
build --remote_upload_local_results=false
|
build --remote_upload_local_results=false
|
||||||
|
|
@ -3,6 +3,7 @@ on:
|
||||||
push:
|
push:
|
||||||
branches: [master, main]
|
branches: [master, main]
|
||||||
|
|
||||||
|
#--remote_cache='https://${{ secrets.CACHE_USERNAME }}:${{ secrets.CACHE_PASSWORD }}@cache.lab0x13.site:443' \
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
|
|
@ -14,5 +15,5 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
bazel --batch build //bukkit:bukkit.publish //core:core.publish //velocity:velocity.publish \
|
bazel --batch build //bukkit:bukkit.publish //core:core.publish //velocity:velocity.publish \
|
||||||
--remote_upload_local_results \
|
--remote_upload_local_results \
|
||||||
--remote_cache='https://${{ secrets.CACHE_USERNAME }}:${{ secrets.CACHE_PASSWORD }}@cache.lab0x13.site:443' \
|
--remote-cache='https://asd:1234@cache.lab0x13.site:443' \
|
||||||
--noremote_cache_async
|
--noremote_cache_async
|
||||||
|
|
@ -23,6 +23,7 @@ maven.install(
|
||||||
],
|
],
|
||||||
repositories = [
|
repositories = [
|
||||||
"https://repo.papermc.io/repository/maven-public/",
|
"https://repo.papermc.io/repository/maven-public/",
|
||||||
|
"https://git.lab0x13.site/api/packages/scrow/maven",
|
||||||
],
|
],
|
||||||
known_contributing_modules = ["protobuf"],
|
known_contributing_modules = ["protobuf"],
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue