Skip to content

Commit

Permalink
Optimize PR builds (#2273)
Browse files Browse the repository at this point in the history
* Optimize PR build

* Update codeql.yml
  • Loading branch information
NotMyFault authored Jun 6, 2023
1 parent c5f66c3 commit 832f93c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ jobs:
uses: actions/setup-java@v3
with:
distribution: temurin
cache: gradle
java-version: 17
- name: Build on ${{ matrix.os }}
run: ./gradlew clean build --no-daemon
run: ./gradlew build -s
- name: Archive artifacts
uses: actions/upload-artifact@v3
with:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: "CodeQL"
on:
push:
branches: [main]
pull_request:
# The branches below must be a subset of the branches above
branches: [main]
Expand Down

0 comments on commit 832f93c

Please sign in to comment.