Skip to content

Commit

Permalink
Remove assemble CI action, avoid using daemon
Browse files Browse the repository at this point in the history
  • Loading branch information
rock3r committed Aug 8, 2024
1 parent 279f29c commit c7868b8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 24 deletions.
21 changes: 1 addition & 20 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,6 @@ on:
pull_request:

jobs:
assemble:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: 21
distribution: zulu
cache: gradle

- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Run :assemble task
run: ./gradlew assemble

checks:
runs-on: ubuntu-latest

Expand All @@ -44,7 +25,7 @@ jobs:
run: chmod +x gradlew

- name: Run :check task
run: ./gradlew check --continue
run: ./gradlew check --continue --no-daemon

- uses: github/codeql-action/upload-sarif@v3
if: ${{ always() }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-ide-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ jobs:
run: chmod +x gradlew

- name: Run Gradle
run: ./gradlew checkLatestIntelliJPlatformBuild
run: ./gradlew checkLatestIntelliJPlatformBuild --no-daemon
2 changes: 1 addition & 1 deletion .github/workflows/publish-hotfix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
run: chmod +x gradlew

- name: Run Gradle
run: ./gradlew publishMainPublicationToSpaceRepository
run: ./gradlew publishMainPublicationToSpaceRepository --no-daemon
env:
MAVEN_SPACE_USERNAME: ${{secrets.MAVEN_SPACE_USERNAME}}
MAVEN_SPACE_PASSWORD: ${{secrets.MAVEN_SPACE_PASSWORD}}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
run: chmod +x gradlew

- name: Run Gradle
run: ./gradlew publishMainPublicationToSpaceRepository
run: ./gradlew publishMainPublicationToSpaceRepository --no-daemon
env:
MAVEN_SPACE_USERNAME: ${{secrets.MAVEN_SPACE_USERNAME}}
MAVEN_SPACE_PASSWORD: ${{secrets.MAVEN_SPACE_PASSWORD}}
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
run: chmod +x gradlew

- name: Run Gradle
run: ./gradlew publishMainPublicationToSpaceRepository
run: ./gradlew publishMainPublicationToSpaceRepository --no-daemon
env:
MAVEN_SPACE_USERNAME: ${{secrets.MAVEN_SPACE_USERNAME}}
MAVEN_SPACE_PASSWORD: ${{secrets.MAVEN_SPACE_PASSWORD}}
Expand Down

0 comments on commit c7868b8

Please sign in to comment.