Skip to content

Commit

Permalink
ci/refactor(build/test): change build java job to test java
Browse files Browse the repository at this point in the history
since testing will build anyway, and we don't upload any artifacts from the build

also changes the "build" step in publish to "publish" because it was bothering me
  • Loading branch information
Baconing committed Oct 10, 2024
1 parent e4e50f6 commit de0625a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/grade-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
- published

jobs:
build:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build Java
name: Test Java

on:
push:
Expand All @@ -14,7 +14,7 @@ on:
pull_request:

jobs:
build-java:
test-java:
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -29,5 +29,5 @@ jobs:
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3

- name: Build
run: ./gradlew build --scan
- name: Test
run: ./gradlew test

0 comments on commit de0625a

Please sign in to comment.