Aktualizovat .gitea/workflows/build.yml
Some checks failed
Build playerservers-edits / Build-latest-jar (push) Failing after 47s

This commit is contained in:
Radim Lipovčan 2024-09-05 17:32:34 +02:00
parent a7b37cd63b
commit 2fbbef5fac

View File

@ -17,14 +17,14 @@ jobs:
git config --global user.email "radim@lipovcan.cz"
- name: Build | Clone repository
run: |
git clone https://ownercz:${{ secrets.CLONE_GITEA_TOKEN }}@git.lipovcan.cz/ownercz/playerservers-edits.git
git clone https://ownercz:${{ secrets.CLONE_GITEA_TOKEN }}@git.lipovcan.cz/PlayerServers/PlayerServers-Source.git
cd playerservers-edits && ls -lah
- name: Build | Gradlew build
run: |
cd playerservers-edits && ls -lah && git checkout recode-update
cd playerservers-edits && ls -lah && git checkout main
mvn clean install && ls -lah && ls */ -lah && ls */* -lah&& ls */*/* -lah
- name: Build | publish jar
run: |
tar -czf playerservers-recode-update-$(date +"%H-%M--%d-%m-%Y").tar.gz playerservers-edits/
curl --insecure --user username:mypass -T playerservers-recode-update-$(date +"%H-%M--%d-%m-%Y").tar.gz ftp://192.168.10.133:/
tar -czf playerservers-main-$(date +"%H-%M--%d-%m-%Y").tar.gz playerservers-edits/
curl --insecure --user username:mypass -T playerservers-main-$(date +"%H-%M--%d-%m-%Y").tar.gz ftp://192.168.10.133:/