KenCommandAPI/.forgejo/workflows/publish-artifact.yml
kento2 92a73072eb
Some checks failed
Build and Deploy artifact / build (push) Failing after 1m20s
ci/cd maybe??
2026-08-05 01:47:37 +02:00

20 lines
No EOL
643 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: |
env
bazel 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