KenCommandAPI/.forgejo/workflows/publish-artifact.yml
kento2 4873a5efbe
Some checks failed
Build and Deploy artifact / build (push) Failing after 10s
ci/cd maybe??
2026-08-05 01:51:17 +02:00

19 lines
No EOL
637 B
YAML

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' \
--define=maven_repo='https://repo.lab0x13.site/' \
--output_base=/tmp/bazel/$FORGEJO_RUN_ID