This commit is contained in:
parent
2e082aa2d3
commit
c2d71b1d14
1 changed files with 8 additions and 5 deletions
|
|
@ -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: |
|
||||||
bazel \
|
for target in //bukkit:bukkit.publish //core:core.publish //velocity:velocity.publish
|
||||||
--output_user_root=/var/cache/bazel \
|
do
|
||||||
run //bukkit:bukkit.publish //core:core.publish //velocity:velocity.publish \
|
bazel \
|
||||||
|
--output_user_root=/var/cache/bazel \
|
||||||
--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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue