Skip to content

Bump actions/upload-artifact from 3 to 4 (#70) #165

Bump actions/upload-artifact from 3 to 4 (#70)

Bump actions/upload-artifact from 3 to 4 (#70) #165

Workflow file for this run

# .github/workflows/ci.yml
# GitHub Actions documentation => https://docs.github.com/en/actions
name: CI with Gradle
on:
push:
branches: [ master, main ]
pull_request:
branches: [ master, main ]
jobs:
gradle:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: 11
distribution: 'adopt'
# Execute Gradle commands in GitHub Actions workflows
# => https://github.com/marketplace/actions/gradle-build-action
- name: Deletes the build directory
uses: gradle/gradle-build-action@v2
with:
arguments: clean
- name: Run the test suits
uses: gradle/gradle-build-action@v2
with:
arguments: test