.
Some checks failed
Build and Deploy artifact / build (push) Failing after 20s

This commit is contained in:
kento2 2026-08-06 13:33:22 +02:00
parent 2e082aa2d3
commit c2d71b1d14

View file

@ -14,16 +14,19 @@ jobs:
with: with:
path: /var/cache/bazel path: /var/cache/bazel
key: bazel-${{ env.FORGEJO_REPOSITORY }} key: bazel-${{ env.FORGEJO_REPOSITORY }}
- id: build - id: deploy
env: env:
CACHE_USERNAME: ${{ secrets.CACHE_USERNAME }} CACHE_USERNAME: ${{ secrets.CACHE_USERNAME }}
CACHE_PASSWORD: ${{ secrets.CACHE_PASSWORD }} CACHE_PASSWORD: ${{ secrets.CACHE_PASSWORD }}
MAVEN_USER: ${{ secrets.MAVENREPO_USERNAME }} MAVEN_USER: ${{ secrets.MAVENREPO_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.MAVENREPO_PASSWORD }} MAVEN_PASSWORD: ${{ secrets.MAVENREPO_PASSWORD }}
run: | run: |
for target in //bukkit:bukkit.publish //core:core.publish //velocity:velocity.publish
do
bazel \ bazel \
--output_user_root=/var/cache/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_cache="https://${CACHE_USERNAME}:${CACHE_PASSWORD}@cache.lab0x13.site:443" \
--remote_upload_local_results \ --remote_upload_local_results \
--noremote_cache_async --noremote_cache_async \
"$target"
done