Skip to content

Bump project version #45

Bump project version

Bump project version #45

Workflow file for this run

name: Maven CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 8
uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn compile
- id: project
name: Extract Maven project version
run: echo "version=$(mvn -q -Dexec.executable=echo -Dexec.args='${project.version}' --non-recursive exec:exec)" >> "$GITHUB_OUTPUT"
- name: Test with Maven
run: mvn test --batch-mode --fail-at-end
- name: Publish Test Report
if: success() || failure()
uses: scacap/action-surefire-report@v1
- name: Package with maven
run: mvn package
- uses: actions/upload-artifact@v3
with:
name: vinted-kafka-connect-vespa-${{ steps.project.outputs.version }}
path: |
target/kafka-connect-vespa-${{ steps.project.outputs.version }}-jar-with-dependencies.jar
target/components/packages/vinted-kafka-connect-vespa-${{ steps.project.outputs.version }}.zip