Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
A1Gard authored Feb 11, 2024
1 parent 609fab6 commit 56b8d72
Showing 1 changed file with 39 additions and 39 deletions.
78 changes: 39 additions & 39 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,50 +37,50 @@ jobs:
- name: Gradle Wrapper Validation
uses: gradle/[email protected]

# Run verifyPlugin and test Gradle tasks
test:
name: Test
needs: gradleValidation
runs-on: ubuntu-latest
steps:

# Setup Java 1.8 environment for the next steps
- name: Setup Java
uses: actions/setup-java@v1
with:
java-version: 1.8

# Check out current repository
- name: Fetch Sources
uses: actions/checkout@v2

# Cache Gradle dependencies
- name: Setup Gradle Dependencies Cache
uses: actions/cache@v2
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-caches-${{ hashFiles('**/*.gradle', '**/*.gradle', 'gradle.properties') }}

# Cache Gradle Wrapper
- name: Setup Gradle Wrapper Cache
uses: actions/cache@v2
with:
path: ~/.gradle/wrapper
key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}

# Run detekt, ktlint and tests
- name: Run Linters and Test
run: ./gradlew check

# Run verifyPlugin Gradle task
- name: Verify Plugin
run: ./gradlew verifyPlugin
# # Run verifyPlugin and test Gradle tasks
# test:
# name: Test
# needs: gradleValidation
# runs-on: ubuntu-latest
# steps:

# # Setup Java 1.8 environment for the next steps
# - name: Setup Java
# uses: actions/setup-java@v1
# with:
# java-version: 1.8

# # Check out current repository
# - name: Fetch Sources
# uses: actions/checkout@v2

# # Cache Gradle dependencies
# - name: Setup Gradle Dependencies Cache
# uses: actions/cache@v2
# with:
# path: ~/.gradle/caches
# key: ${{ runner.os }}-gradle-caches-${{ hashFiles('**/*.gradle', '**/*.gradle', 'gradle.properties') }}

# # Cache Gradle Wrapper
# - name: Setup Gradle Wrapper Cache
# uses: actions/cache@v2
# with:
# path: ~/.gradle/wrapper
# key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}

# # Run detekt, ktlint and tests
# - name: Run Linters and Test
# run: ./gradlew check

# # Run verifyPlugin Gradle task
# - name: Verify Plugin
# run: ./gradlew verifyPlugin

# Build plugin with buildPlugin Gradle task and provide the artifact for the next workflow jobs
# Requires test job to be passed
build:
name: Build
needs: test
# needs: test
runs-on: ubuntu-latest
steps:

Expand Down

0 comments on commit 56b8d72

Please sign in to comment.