name: "Build and Deploy artifact" on: push: branches: [master, main] jobs: build: runs-on: docker container: image: "git.lab0x13.site/scrow/bazel-java:0.6" steps: - uses: actions/checkout@v7 - id: build run: | bazel --batch build //bukkit:bukkit.publish //core:core.publish //velocity:velocity.publish \ --remote_upload_local_results \ --remote_cache='https://${{ secrets.CACHE_USERNAME }}:${{ secrets.CACHE_PASSWORD }}@cache.lab0x13.site:443' \ --define=maven_repo='https://repo.lab0x13.site/' \ --noremote_cache_async