Skip to content

chore: prepare release 0.1.60 (#15) #20

chore: prepare release 0.1.60 (#15)

chore: prepare release 0.1.60 (#15) #20

Workflow file for this run

name: Release
on:
push:
branches: [main]
jobs:
build:
name: Build, Test, Package & Publish
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Set up Java 17 (Temurin) with Maven cache
uses: actions/setup-java@v5
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Build, test, run static analysis, and package
run: mvn --batch-mode clean verify
- name: Extract project version
id: version
run: |
VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
echo "VERSION=$VERSION" >> "$GITHUB_OUTPUT"
- name: Upload JUnit test results
if: always()
uses: actions/upload-artifact@v7
with:
name: test-results
path: target/surefire-reports/*.xml
if-no-files-found: ignore
- name: Upload Checkstyle report
if: always()
uses: actions/upload-artifact@v7
with:
name: checkstyle-report
path: target/checkstyle-result.xml
if-no-files-found: ignore
- name: Upload .hpi plugin artifact
uses: actions/upload-artifact@v7
with:
name: parallels-devops-${{ steps.version.outputs.VERSION }}
path: target/*.hpi
if-no-files-found: error