Skip to content

Commit

Permalink
Update and rename test-then-build.yml to CI-on-PR.yml (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
BLCK-B authored Aug 26, 2024
1 parent 5cee132 commit 4eabb5e
Showing 1 changed file with 1 addition and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,4 @@ jobs:
run: chmod +x ./gradlew
- name: Run tests
run: |
./gradlew test --info
if [ $? -ne 0 ]; then exit 1; fi
- name: Fail job if tests failed
if: failure()
run: echo "Tests failed, stopping the job"
- name: Build with Gradle Wrapper
run: ./gradlew build
- name: Upload JAR artifact on main only
uses: actions/upload-artifact@v4
with:
name: MRT-artifact
path: build/libs/*.jar
retention-days: 7
overwrite: true
./gradlew test --stacktrace

0 comments on commit 4eabb5e

Please sign in to comment.