Add .gitea/workflows/auto-refresh.yaml
This commit is contained in:
parent
acf66baf57
commit
dcb157f8bc
29
.gitea/workflows/auto-refresh.yaml
Normal file
29
.gitea/workflows/auto-refresh.yaml
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
name: Bommels LevelOS updater
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
push:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
delete-levelos:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Setup 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
|
||||||
|
java -jar TPkgCreator.jar delete LevelOS
|
||||||
|
echo "LevelOS was Deleted"
|
||||||
|
|
||||||
|
- name: Clone LevelOS
|
||||||
|
run: |
|
||||||
|
git clone https://git.befatorinc.de/Befator-Computing-Systems/ClientOS.git
|
||||||
|
java -jar TPkgCreator.jar pack ClientOS ClientOS BefatorComputingSystems ClientOS
|
||||||
|
echo "LevelOS (ClientOS) was uploaded"
|
||||||
|
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user