@@ -77,10 +77,21 @@ jobs:
77
77
verify-reproducibility :
78
78
needs : [ deploy-snapshot, deploy-release ]
79
79
if : ${{ always() && (needs.deploy-snapshot.result == 'success' || needs.deploy-release.result == 'success') }}
80
+ name : " verify-reproducibility (${{ needs.deploy-release.result == 'success' && needs.deploy-release.outputs.project-version || needs.deploy-snapshot.outputs.project-version }})"
80
81
uses : apache/logging-parent/.github/workflows/verify-reproducibility-reusable.yaml@rel/12.0.0
81
82
with :
82
83
nexus-url : ${{ needs.deploy-release.result == 'success' && needs.deploy-release.outputs.nexus-url || needs.deploy-snapshot.outputs.nexus-url }}
83
- # Checkout the repository by branch name, since the deployment job might add commits to the branch
84
- ref : ${{ github.ref_name }}
85
84
# Encode the `runs-on` input as JSON array
86
85
runs-on : ' ["ubuntu-latest", "macos-latest", "windows-latest"]'
86
+
87
+ # Run integration-tests automatically after a snapshot or RC is published
88
+ integration-test :
89
+ needs : [ deploy-snapshot, deploy-release ]
90
+ if : ${{ always() && (needs.deploy-snapshot.result == 'success' || needs.deploy-release.result == 'success') }}
91
+ name : " integration-test (${{ needs.deploy-release.result == 'success' && needs.deploy-release.outputs.project-version || needs.deploy-snapshot.outputs.project-version }})"
92
+ uses : apache/logging-log4j-samples/.github/workflows/integration-test.yaml@main
93
+ with :
94
+ log4j-version : ${{ needs.deploy-release.result == 'success' && needs.deploy-release.outputs.project-version || needs.deploy-snapshot.outputs.project-version }}
95
+ log4j-repository-url : ${{ needs.deploy-release.result == 'success' && needs.deploy-release.outputs.nexus-url || needs.deploy-snapshot.outputs.nexus-url }}
96
+ # Use the `main` branch of `logging-log4j-samples`
97
+ samples-ref : ' refs/heads/main'
0 commit comments