Bump actions/upload-artifact from 3 to 4 #360
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: MusicBrainz CI | |
on: | |
push: | |
branches: [ main, dev ] | |
pull_request: | |
branches: [ main, dev ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'oracle' | |
java-version: 17 | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Run unit tests | |
run: ./gradlew test | |
- name: Build with Gradle | |
run: ./gradlew build | |
- name: Run lint with Gradle | |
run: ./gradlew lint | |
- name: Check lint results | |
uses: yutailang0119/action-android-lint@v3 | |
with: | |
report-path: build/reports/*.xml | |
continue-on-error: false |