From 33e43515f6525111d8845ff5e699e07d44f3fc5d Mon Sep 17 00:00:00 2001 From: Coccocoa's Helper <68158102+gabrielvicenteYT@users.noreply.github.com> Date: Sat, 29 Oct 2022 14:08:17 +0100 Subject: [PATCH 1/6] Update gradle.yml --- .github/workflows/gradle.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index be24bfc9..6c676c15 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -46,3 +46,9 @@ jobs: ${{ runner.os }}-gradle-v2- - run: chmod +x ./gradlew - run: ./gradlew --no-daemon build + + - name: Upload Build Artifacts + uses: actions/upload-artifact@v2 + with: + name: artifacts + path: versions/**/build/libs/ From 65d0b8a856ec825e47007337fedca2d3219de4fe Mon Sep 17 00:00:00 2001 From: Coccocoa's Helper Date: Wed, 21 Dec 2022 14:17:06 +0000 Subject: [PATCH 2/6] t --- .github/workflows/gradle.yml | 51 ++++++++++++++++++------------------ 1 file changed, 25 insertions(+), 26 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 6c676c15..db25bfd4 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -1,51 +1,50 @@ -name: build +# Build Workflow + +name: Build on: - push: - branches: '*' - paths-ignore: - - 'README.md' - - 'LICENSE' - - '.gitignore' pull_request: - branches: '*' - paths-ignore: - - 'README.md' - - 'LICENSE' - - '.gitignore' workflow_dispatch: + push: concurrency: - # Maximum of one running workflow per pull request source branch - # or branch and run number combination (cancels old run if action is rerun) group: ${{ github.head_ref || format('{0}-{1}', github.ref, github.run_number) }} cancel-in-progress: true jobs: build: - name: "Build" - runs-on: "ubuntu-latest" + name: Build - steps: - - uses: actions/checkout@v2 + runs-on: ubuntu-latest - - uses: gradle/wrapper-validation-action@v1 + steps: + - name: Checkout + uses: actions/checkout@v2 + with: + fetch-depth: 0 - - uses: actions/setup-java@v2 + - name: Set up JDK 17 + uses: actions/setup-java@v2 with: - distribution: "temurin" - java-version: "17" + java-version: 17 + distribution: temurin + cache: 'gradle' - uses: actions/cache@v2 with: path: | ~/.gradle/caches ~/.gradle/wrapper - key: ${{ runner.os }}-gradle-v2-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} + **/loom-cache + **/prebundled-jars + key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} restore-keys: | - ${{ runner.os }}-gradle-v2- - - run: chmod +x ./gradlew - - run: ./gradlew --no-daemon build + ${{ runner.os }}-gradle- + - name: Chmod Gradle + run: chmod +x ./gradlew + + - name: Build + run: ./gradlew build --no-daemon - name: Upload Build Artifacts uses: actions/upload-artifact@v2 From 76453bb76f49492ee223a39c2f9a84811c2be75a Mon Sep 17 00:00:00 2001 From: Coccocoa's Helper Date: Wed, 21 Dec 2022 14:37:46 +0000 Subject: [PATCH 3/6] Update gradle.yml --- .github/workflows/gradle.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index db25bfd4..b3adcde9 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -50,4 +50,4 @@ jobs: uses: actions/upload-artifact@v2 with: name: artifacts - path: versions/**/build/libs/ + path: .gradle/build From 8ea962b5e070068d8d286310404adfe77e8a8cb1 Mon Sep 17 00:00:00 2001 From: Coccocoa's Helper Date: Wed, 21 Dec 2022 14:40:01 +0000 Subject: [PATCH 4/6] idk --- .gitignore | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index ee6e27e4..672a1570 100644 --- a/.gitignore +++ b/.gitignore @@ -16,8 +16,8 @@ out1 !.idea/copyright # gradle -build -.gradle +# build +# .gradle # other eclipse From 3d206756d4ad88d95b08536f3ac1d4316675c4a0 Mon Sep 17 00:00:00 2001 From: Coccocoa's Helper Date: Wed, 21 Dec 2022 14:48:25 +0000 Subject: [PATCH 5/6] Update gradle.yml --- .github/workflows/gradle.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index b3adcde9..dc7e279a 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -50,4 +50,4 @@ jobs: uses: actions/upload-artifact@v2 with: name: artifacts - path: .gradle/build + path: build/libs From 683f94e226c0e0f1a666bd787d057ae00c967774 Mon Sep 17 00:00:00 2001 From: Coccocoa's Helper Date: Wed, 21 Dec 2022 15:01:58 +0000 Subject: [PATCH 6/6] bruh --- .gitignore | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 672a1570..ee6e27e4 100644 --- a/.gitignore +++ b/.gitignore @@ -16,8 +16,8 @@ out1 !.idea/copyright # gradle -# build -# .gradle +build +.gradle # other eclipse