From 86aecb856abbedaba285fa58dd032d7ce5922d4d Mon Sep 17 00:00:00 2001 From: XAP3Y Date: Sun, 22 Dec 2024 21:14:13 +0100 Subject: [PATCH] bungee command support --- .gitea/workflows/build.yml | 30 +++++++++++++++++++ .idea/jarRepositories.xml | 10 +++++++ pom.xml | 4 +-- .../commandpanels/CommandPanels.java | 1 + .../commandtags/tags/standard/BasicTags.java | 14 +++++++++ 5 files changed, 57 insertions(+), 2 deletions(-) create mode 100644 .gitea/workflows/build.yml diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml new file mode 100644 index 0000000..56a302f --- /dev/null +++ b/.gitea/workflows/build.yml @@ -0,0 +1,30 @@ +name: Build CommandPanels plugin +run-name: Build CommandPanels plugin +on: [push] +jobs: + Build-latest-jar: + runs-on: ubuntu-latest + steps: + - name: Build | Prepare packages + run: | + apt update; apt-get install software-properties-common -y + wget -O- https://apt.corretto.aws/corretto.key | apt-key add - + add-apt-repository 'deb https://apt.corretto.aws stable main' + apt-get update; apt-get install -y maven java-21-amazon-corretto-jdk + - name: Setup git + run: | + git config --global user.name "Radim LipovĨan" + git config --global user.email "radim@lipovcan.cz" + - name: Check out repository code + uses: actions/checkout@v4 + - name: Build | Maven clean build + run: | + mvn clean install && ls -lah && ls */ -lah && ls */* -lah&& ls */*/* -lah + - name: Push | Create release + uses: https://git.lipovcan.cz/Upstream/gitea-release-action.git@v1 + with: + files: |- + target/CommandPanels-DEV.jar + - name: Push | Old FTP way to gitea.lipovcan.cz:8081 + run: | + curl --insecure --user username:mypass -T ./target/CommandPanels-DEV.jar ftp://192.168.10.133:/ \ No newline at end of file diff --git a/.idea/jarRepositories.xml b/.idea/jarRepositories.xml index a2011b2..7041789 100644 --- a/.idea/jarRepositories.xml +++ b/.idea/jarRepositories.xml @@ -66,11 +66,21 @@