File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -67,10 +67,21 @@ jobs:
67
67
verify-reproducibility :
68
68
needs : [ deploy-snapshot, deploy-release ]
69
69
if : ${{ always() && (needs.deploy-snapshot.result == 'success' || needs.deploy-release.result == 'success') }}
70
+ name : " verify-reproducibility (${{ needs.deploy-release.result == 'success' && needs.deploy-release.outputs.project-version || needs.deploy-snapshot.outputs.project-version }})"
70
71
uses : apache/logging-parent/.github/workflows/verify-reproducibility-reusable.yaml@rel/12.0.0
71
72
with :
72
73
nexus-url : ${{ needs.deploy-release.result == 'success' && needs.deploy-release.outputs.nexus-url || needs.deploy-snapshot.outputs.nexus-url }}
73
- # Checkout the repository by branch name, since the deployment job might add commits to the branch
74
- ref : ${{ github.ref_name }}
75
74
# Encode the `runs-on` input as JSON array
76
75
runs-on : ' ["ubuntu-latest", "macos-latest", "windows-latest"]'
76
+
77
+ # Run integration-tests automatically after a snapshot or RC is published
78
+ integration-test :
79
+ needs : [ deploy-snapshot, deploy-release ]
80
+ if : ${{ always() && (needs.deploy-snapshot.result == 'success' || needs.deploy-release.result == 'success') }}
81
+ name : " integration-test (${{ needs.deploy-release.result == 'success' && needs.deploy-release.outputs.project-version || needs.deploy-snapshot.outputs.project-version }})"
82
+ uses : apache/logging-log4j-samples/.github/workflows/integration-test.yaml@main
83
+ with :
84
+ log4j-version : ${{ needs.deploy-release.result == 'success' && needs.deploy-release.outputs.project-version || needs.deploy-snapshot.outputs.project-version }}
85
+ log4j-repository-url : ${{ needs.deploy-release.result == 'success' && needs.deploy-release.outputs.nexus-url || needs.deploy-snapshot.outputs.nexus-url }}
86
+ # Use the `main` branch of `logging-log4j-samples`
87
+ samples-ref : ' refs/heads/main'
You can’t perform that action at this time.
0 commit comments