Skip to content

Build triggered by shemuwel #10

Build triggered by shemuwel

Build triggered by shemuwel #10

name: build
run-name: Build triggered by ${{ github.actor }}
on:
push:
pull_request_target:
types: [opened, edited, ready_for_review]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: mvn package
- name: Read Pom Version
id: get-version
run: |
VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
echo "ARTIFACT_VERSION=$VERSION" >> "$GITHUB_OUTPUT"
- name: Upload JAR artifact
uses: actions/upload-artifact@v3
with:
name: TestComplete-${{ steps.get-version.outputs.version }}.jar
path: target/TestComplete.jar
- name: Upload HPI artifact
uses: actions/upload-artifact@v3
with:
nme: TestComplete-${{ steps.get-version.outputs.version }}.hpi
path: target/TestComplete.hpi