Fix the expected type

This commit is contained in:
Daniel Kennedy
2026-03-10 20:52:49 -04:00
parent afb5733147
commit 113849fd10

View File

@@ -166,20 +166,20 @@ jobs:
echo '{"key": "value"}' > path/to/extension-test/data.json echo '{"key": "value"}' > path/to/extension-test/data.json
- uses: actions/upload-artifact@v4 # V4 is important here to ensure we're supporting older versions correctly - uses: actions/upload-artifact@v4 # V4 is important here to ensure we're supporting older versions correctly
with: with:
name: report.txt-${{ matrix.runs-on }} name: report.txt-${{ matrix.runs-on }}.json
path: path/to/extension-test/data.json path: path/to/extension-test/data.json
- name: Download misleading-extension artifact without decompressing - name: Download misleading-extension artifact without decompressing
uses: ./ uses: ./
with: with:
name: report.txt-${{ matrix.runs-on }} name: report.txt-${{ matrix.runs-on }}.json
path: ext-test/raw path: ext-test/raw
skip-decompress: true skip-decompress: true
- name: Verify downloaded file has .zip extension appended - name: Verify downloaded file has .zip extension appended
shell: bash shell: bash
run: | run: |
expected="ext-test/raw/report.txt-${{ matrix.runs-on }}.zip" expected="ext-test/raw/report.txt-${{ matrix.runs-on }}.json.zip"
if [ -f "$expected" ]; then if [ -f "$expected" ]; then
echo "PASS: Downloaded file has .zip appended: $expected" echo "PASS: Downloaded file has .zip appended: $expected"
else else