Skip to content

Commit 01f532a

Browse files
authored
Merge pull request #14380 from ggbecker/fix-compare-ds-6
Fix compare ds by extracting to the right folder
2 parents 03ada44 + 443d13c commit 01f532a

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

.github/workflows/compare-ds.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,18 +78,15 @@ jobs:
7878
name: pr-artifacts-${{ github.event.workflow_run.head_sha }}
7979
path: pr_artifacts
8080
run-id: ${{ github.event.workflow_run.id }}
81-
- name: Create unpacked_artifacts directory
82-
if: ${{ steps.ctf.outputs.CTF_OUTPUT_SIZE != '0' }}
83-
run: mkdir -p pr_artifacts/unpacked_artifacts
8481
- name: Unpack built artifacts
8582
if: ${{ steps.ctf.outputs.CTF_OUTPUT_SIZE != '0' }}
86-
run: tar -xvzf pr_artifacts/artifacts.tar.gz -C pr_artifacts/unpacked_artifacts
83+
run: tar -xvzf pr_artifacts/artifacts.tar.gz -C pr_artifacts
8784
- name: Build product
8885
if: ${{ steps.ctf.outputs.CTF_OUTPUT_SIZE != '0' }}
8986
run: ./build_product ${{steps.product.outputs.prop}} --datastream-only
9087
- name: Compare datastreams
9188
if: ${{ steps.ctf.outputs.CTF_OUTPUT_SIZE != '0' }}
92-
run: utils/compare_ds.py pr_artifacts/unpacked_artifacts/ssg-${{steps.product.outputs.prop}}-ds.xml build/ssg-${{steps.product.outputs.prop}}-ds.xml | tee diff.log
89+
run: utils/compare_ds.py pr_artifacts/artifacts/ssg-${{steps.product.outputs.prop}}-ds.xml build/ssg-${{steps.product.outputs.prop}}-ds.xml | tee diff.log
9390
env:
9491
PYTHONPATH: ${{ github.workspace }}
9592
- name: Test if there are datastream changes

0 commit comments

Comments
 (0)