Skip to content

Commit

Permalink
Add git workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
shemuwel committed Nov 13, 2023
1 parent 5f7fbd3 commit 0ccaed5
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/standard-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
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: mvnw install
- name: Read Pom Version
id: get-version
run: |
VERSION=$(mvnw 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.artifact_version }}.jar
path: target/TestComplete.jar
- name: Upload HPI artifact
uses: actions/upload-artifact@v3
with:
name: TestComplete-${{ steps.get-version.outputs.artifact_version }}.hpi
path: target/TestComplete.hpi

0 comments on commit 0ccaed5

Please sign in to comment.