GH-1899 Update sponsors list #2932
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
# GitHub Actions workflow to automatically build and test Reposilite. | |
name: "Reposilite CI" | |
on: | |
push: | |
branches: [ "main", "3.0" ] | |
pull_request: | |
branches: [ "main", "3.0" ] | |
jobs: | |
build: | |
name: "Build with JDK ${{ matrix.java-version }}" | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
# Use 11 LTS releases and the latest one | |
java-version: [ 11, 19 ] | |
steps: | |
- name: "Checkout repository" | |
uses: actions/checkout@v3 | |
- name: "Fetch git tags" # Required for axion-release-plugin | |
run: git fetch --tags --unshallow | |
- name: "Validate gradle wrapper" | |
uses: gradle/wrapper-validation-action@v1 | |
- name: "Set up Java ${{ matrix.java-version }}" | |
uses: actions/setup-java@v3 | |
with: | |
java-version: "${{ matrix.java-version }}" | |
distribution: "liberica" | |
- name: "Grant execute permission for gradlew" | |
run: chmod +x gradlew | |
- name: "Gradle build" | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: ":reposilite-backend:testCoverage" | |
- name: "Upload coverage to Codecov" | |
uses: codecov/codecov-action@v2 | |
with: | |
files: "./reposilite-backend/build/reports/jacoco/reposilite-backend-report.xml" | |
fail_ci_if_error: false |