From 0a9240c576a7bf09a38308486710f8b91978be07 Mon Sep 17 00:00:00 2001 From: Carlo Piovesan Date: Fri, 17 May 2024 10:56:10 +0200 Subject: [PATCH] Add errors when no upload-artifact fails --- .github/workflows/_extension_distribution.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/_extension_distribution.yml b/.github/workflows/_extension_distribution.yml index a650522..8bcf9ac 100644 --- a/.github/workflows/_extension_distribution.yml +++ b/.github/workflows/_extension_distribution.yml @@ -178,8 +178,9 @@ jobs: run: | make test - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 with: + if-no-files-found: error name: ${{ inputs.extension_name }}-${{ inputs.duckdb_version }}-extension-${{matrix.duckdb_arch}}${{inputs.artifact_postfix}} path: | build/release/extension/${{ inputs.extension_name }}/${{ inputs.extension_name }}.duckdb_extension @@ -242,8 +243,9 @@ jobs: run: | make test - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 with: + if-no-files-found: error name: ${{ inputs.extension_name }}-${{ inputs.duckdb_version }}-extension-${{matrix.duckdb_arch}}${{inputs.artifact_postfix}} path: | build/release/extension/${{ inputs.extension_name }}/${{ inputs.extension_name }}.duckdb_extension @@ -321,8 +323,9 @@ jobs: run: | make test_release - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 with: + if-no-files-found: error name: ${{ inputs.extension_name }}-${{ inputs.duckdb_version }}-extension-${{matrix.duckdb_arch}}${{inputs.artifact_postfix}} path: | build/release/extension/${{ inputs.extension_name }}/${{ inputs.extension_name }}.duckdb_extension @@ -372,6 +375,7 @@ jobs: - uses: actions/upload-artifact@v3 with: + if-no-files-found: error name: ${{ inputs.extension_name }}-${{ inputs.duckdb_version }}-extension-${{matrix.duckdb_arch}}${{inputs.artifact_postfix}} path: | build/${{ matrix.duckdb_arch }}/extension/${{ inputs.extension_name }}/${{ inputs.extension_name }}.duckdb_extension.wasm