Skip to content

ci: update workflow triggers to use tags instead of releases #29

ci: update workflow triggers to use tags instead of releases

ci: update workflow triggers to use tags instead of releases #29

Workflow file for this run

name: Maven Build
on:
push:
tags:
- 'v*'
pull_request:
branches:
- main
jobs:
build:
name: maven build
runs-on: ubuntu-latest
steps:
- name: Git Checkout
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
cache: maven
java-version: '17'
distribution: 'temurin'
- name: Build with Maven
run: mvn -B package --file pom.xml
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}