Skip to content

Commit

Permalink
[CI] Compare artifacts from two builds
Browse files Browse the repository at this point in the history
  • Loading branch information
v6ak committed Sep 22, 2023
1 parent 90d356b commit 3c24982
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,22 @@ jobs:
with:
name: site
path: pack-for-verification.zip

compare:
needs: [build, test-bleeding-edge-java-and-npm]
runs-on: ubuntu-latest
steps:
- name: Download build artifact
uses: actions/download-artifact@v3
with:
name: pack.zip
path: ./artifacts

- name: Download job2 artifact
uses: actions/download-artifact@v3
with:
name: pack-for-verification.zip
path: ./artifacts

- name: Compare artifacts
run: diff ./artifacts/pack.zip ./artifacts/pack-for-verification.zip

0 comments on commit 3c24982

Please sign in to comment.