Skip to content

Commit

Permalink
Merge pull request #226 from liquibase/DAT-18178
Browse files Browse the repository at this point in the history
DAT-18178: Add artifact path optional parameter to extension test workflow.
  • Loading branch information
abrackx authored Jul 16, 2024
2 parents 2f540c9 + 162361e commit 3e4ff94
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/pro-extension-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ on:
required: false
default: "coverage"
type: string
artifactPath:
description: "Specify the path to the artifacts that should be attached to the build. Useful for multi-module extensions."
required: false
default: "target/*"
type: string
secrets:
SONAR_TOKEN:
description: "SONAR_TOKEN from the caller workflow"
Expand Down Expand Up @@ -156,7 +161,7 @@ jobs:

- name: Build and Package
if: ${{ !inputs.nightly }}
run: mvn -B dependency:go-offline clean package -DskipTests=true
run: mvn -B dependency:go-offline clean package -DskipTests=true ${{ inputs.extraMavenArgs }}

- name: Get Artifact ID
id: get-artifact-id
Expand All @@ -167,7 +172,7 @@ jobs:
with:
name: ${{ steps.get-artifact-id.outputs.artifact_id }}-artifacts
path: |
target/*
${{ inputs.artifactPath }}
- name: Save Event File
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 3e4ff94

Please sign in to comment.