This commit is contained in:
parent
2e082aa2d3
commit
c2d71b1d14
1 changed files with 8 additions and 5 deletions
|
|
@ -14,16 +14,19 @@ jobs:
|
|||
with:
|
||||
path: /var/cache/bazel
|
||||
key: bazel-${{ env.FORGEJO_REPOSITORY }}
|
||||
- id: build
|
||||
- id: deploy
|
||||
env:
|
||||
CACHE_USERNAME: ${{ secrets.CACHE_USERNAME }}
|
||||
CACHE_PASSWORD: ${{ secrets.CACHE_PASSWORD }}
|
||||
MAVEN_USER: ${{ secrets.MAVENREPO_USERNAME }}
|
||||
MAVEN_PASSWORD: ${{ secrets.MAVENREPO_PASSWORD }}
|
||||
run: |
|
||||
for target in //bukkit:bukkit.publish //core:core.publish //velocity:velocity.publish
|
||||
do
|
||||
bazel \
|
||||
--output_user_root=/var/cache/bazel \
|
||||
run //bukkit:bukkit.publish //core:core.publish //velocity:velocity.publish \
|
||||
--remote_cache="https://${CACHE_USERNAME}:${CACHE_PASSWORD}@cache.lab0x13.site:443" \
|
||||
--remote_upload_local_results \
|
||||
--noremote_cache_async
|
||||
--noremote_cache_async \
|
||||
"$target"
|
||||
done
|
||||
Loading…
Add table
Add a link
Reference in a new issue