Merge branch 'main' of https://git.befatorinc.de/Befator-Computing-Systems/ClientOS
All checks were successful
Bommels LevelOS updater / refresh_levelos (push) Successful in 9s
All checks were successful
Bommels LevelOS updater / refresh_levelos (push) Successful in 9s
This commit is contained in:
commit
0b14877dff
33
.gitea/workflows/auto-refresh.yml
Normal file
33
.gitea/workflows/auto-refresh.yml
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
name: Bommels LevelOS updater
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
push:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
refresh_levelos:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Set up Java
|
||||||
|
uses: actions/setup-java@v4
|
||||||
|
with:
|
||||||
|
java-version: 21
|
||||||
|
distribution: temurin
|
||||||
|
|
||||||
|
- name: Download latest TpkgCreator Release
|
||||||
|
run: |
|
||||||
|
wget https://git.befatorinc.de/TheHomecraft/TpkgCreator/releases/download/main/TPkgCreator.jar
|
||||||
|
|
||||||
|
- name: Delete old LevelOS package
|
||||||
|
run: |
|
||||||
|
echo "Deleting LevelOS from TPkg"
|
||||||
|
java -jar TPkgCreator.jar delete ClientOS
|
||||||
|
echo "LevelOS was Deleted"
|
||||||
|
|
||||||
|
- name: Clone LevelOS and repack
|
||||||
|
run: |
|
||||||
|
git clone https://git.befatorinc.de/Befator-Computing-Systems/ClientOS.git
|
||||||
|
echo "Starting the Creator"
|
||||||
|
java -jar TPkgCreator.jar pack ClientOS ClientOS BefatorComputingSystems ClientOS
|
||||||
|
echo "LevelOS (ClientOS) was uploaded"
|
||||||
Loading…
x
Reference in New Issue
Block a user