From 831278284270a9aa0e30a0b3469d20d25f7d06ed Mon Sep 17 00:00:00 2001 From: AnAwesomGuy <79700396+AnAwesomGuy@users.noreply.github.com> Date: Wed, 28 Aug 2024 18:29:18 +0800 Subject: [PATCH] idk what im doing at this point --- .github/workflows/buildAndTest.yml | 8 ++++++-- .gitignore | 1 + 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/buildAndTest.yml b/.github/workflows/buildAndTest.yml index db72762..8cb45ce 100644 --- a/.github/workflows/buildAndTest.yml +++ b/.github/workflows/buildAndTest.yml @@ -19,6 +19,7 @@ jobs: run: | chmod +x ./gradlew ./gradlew runMainTest + cp -a build/libs/. generated/ build_5: runs-on: ubuntu-latest steps: @@ -37,6 +38,7 @@ jobs: run: | chmod +x ./gradlew ./gradlew runJava5Test + cp -a build/libs/. generated/ upload: needs: [build_latest, build_5] runs-on: ubuntu-latest @@ -45,5 +47,7 @@ jobs: continue-on-error: true uses: actions/upload-artifact@v4 with: - name: artifacts - path: build/libs/*.jar + path: generated + - name: delete generated + continue-on-error: true + run: rm -r generated/ \ No newline at end of file diff --git a/.gitignore b/.gitignore index 581bf51..7e80678 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ .gradle build/ +generated/ !gradle/wrapper/gradle-wrapper.jar !**/src/main/**/build/ !**/src/test/**/build/