From fcae978af3bc25ec964cfefa793ed9b66d23bd8b Mon Sep 17 00:00:00 2001 From: TexTrue <65154269+TexBlock@users.noreply.github.com> Date: Thu, 2 Feb 2023 10:08:15 +0800 Subject: [PATCH] action --- .github/workflows/build.yml | 26 ++++++++++++++++++++++++++ gradle.properties | 2 +- 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..e929987 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,26 @@ +name: build + +on: [pull_request, push] + +jobs: + build: + runs-on: windows-2022 + steps: + - name: checkout repository + uses: actions/checkout@v3 + - name: validate gradle wrapper + uses: gradle/wrapper-validation-action@v1 + - name: setup jdk 17 + uses: actions/setup-java@v3 + with: + java-version: 17 + distribution: 'microsoft' + - name: make gradle wrapper executable + run: chmod +x ./gradlew + - name: build + run: ./gradlew build + - name: capture build artifacts + uses: actions/upload-artifact@v3 + with: + name: Artifacts + path: build/libs/ \ No newline at end of file diff --git a/gradle.properties b/gradle.properties index 29fade9..84e68a5 100644 --- a/gradle.properties +++ b/gradle.properties @@ -12,7 +12,7 @@ loom.platform=forge yarn_mappings=1.16.5+build.10 # Mod Properties - mod_version=1.0.0-1.16.x + mod_version=1.0.0 maven_group=org.thinkingstudio.dels archives_base_name=DisableEarlyLoadingScreen mod_id=dels