fix(java): Lava speed #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Java Branch | |
on: | |
push: | |
branches: [ main ] | |
paths: [ 'java/pack/**' ] | |
permissions: write-all | |
jobs: | |
sync: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout main | |
uses: actions/checkout@v3 | |
with: | |
ref: main | |
fetch-depth: 0 | |
- name: Sync main to java | |
run: | | |
git checkout java | |
rsync -av java/pack ./pack | |
git add ./pack | |
git merge main | |
git push origin java |