Skip to content

Bump next from 13.5.4 to 14.0.1 in /reposilite-site #3024

Bump next from 13.5.4 to 14.0.1 in /reposilite-site

Bump next from 13.5.4 to 14.0.1 in /reposilite-site #3024

Workflow file for this run

# 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, 20 ]
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