Skip to content

Commit

Permalink
Start Work
Browse files Browse the repository at this point in the history
  • Loading branch information
Euphillya committed Jul 16, 2024
0 parents commit f147363
Show file tree
Hide file tree
Showing 67 changed files with 1,039 additions and 0 deletions.
50 changes: 50 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Build and Upload Jar

on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
build:
runs-on: windows-latest

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Setup Java
uses: actions/setup-java@v3
with:
java-version: '21'
distribution: 'temurin'

- name: Grant execute permission to script
run: bash -c "chmod +x script.sh"

- name: Update upstream and apply patches
shell: bash
run: |
git config --global user.email "[email protected]"
git config --global user.name "Action Github"
./script.sh updateUpstream
./script.sh applyPatches
- name: Setup Gradle
uses: gradle/gradle-build-action@v3

- name: Build
shell: bash
run: |
cd Essentials-Patchs
./gradlew build --stacktrace
- name: Archive plugin jars on GitHub
uses: actions/upload-artifact@v4
with:
name: EssentialsX plugin jars
path: Essentials-Patchs/jars/
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*-Patchs/
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "Essentials"]
path = Essentials
url = https://github.com/EssentialsX/Essentials
3 changes: 3 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions .idea/EssentialsX-Folia.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

79 changes: 79 additions & 0 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions .idea/jarRepositories.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/kotlinc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit f147363

Please sign in to comment.