Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 13 additions & 5 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,21 @@ jobs:
17
project-id: log4j

verify-reproducibility:
needs: [ deploy-snapshot, deploy-release ]
if: ${{ always() && (needs.deploy-snapshot.result == 'success' || needs.deploy-release.result == 'success') }}
name: "verify-reproducibility (${{ needs.deploy-release.result == 'success' && needs.deploy-release.outputs.project-version || needs.deploy-snapshot.outputs.project-version }})"
verify-reproducibility-snapshot:
needs: deploy-snapshot
uses: apache/logging-parent/.github/workflows/verify-reproducibility-reusable.yaml@gha/v0
with:
# Name of the artifact uploaded by `deploy-snapshot`
reference-artifact-name: ${{ needs.deploy-snapshot.outputs.repository-artifact-name }}
# Encode the `runs-on` input as JSON array
runs-on: '["ubuntu-latest", "macos-latest"]'

verify-reproducibility-release:
needs: deploy-release
uses: apache/logging-parent/.github/workflows/verify-reproducibility-reusable.yaml@gha/v0
with:
nexus-url: ${{ needs.deploy-release.result == 'success' && needs.deploy-release.outputs.nexus-url || 'https://repository.apache.org/content/groups/snapshots' }}
# URL of staging repository
nexus-url: ${{ needs.deploy-release.outputs.nexus-url }}
# Encode the `runs-on` input as JSON array
runs-on: '["ubuntu-latest", "macos-latest"]'

Expand Down
Loading