From 28033ff8cfaf4d640a4ccf277aee8e16e7e997fd Mon Sep 17 00:00:00 2001 From: Adam Dinwoodie Date: Fri, 20 Jan 2023 14:59:51 +0000 Subject: [PATCH] Handle single-package packages in upload step Some packages -- notably asciidoc -- only produce a single package plus the src package, which means the dist directory won't have any subdirectories. Change the glob used by the upload action to cope with this scenario as well as the multi-package scenario. --- .github/workflows/prep-release.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/prep-release.yml b/.github/workflows/prep-release.yml index 33458b0..c4e8033 100644 --- a/.github/workflows/prep-release.yml +++ b/.github/workflows/prep-release.yml @@ -139,8 +139,6 @@ jobs: with: tag_name: ${{ env.TAG }} draft: true - files: | - ${{ env.CYGPORT_PF }}.${{ env.CYGPORT_ARCH }}/dist/${{ env.CYGPORT_NAME }}/* - ${{ env.CYGPORT_PF }}.${{ env.CYGPORT_ARCH }}/dist/${{ env.CYGPORT_NAME }}/*/* + files: ${{ env.CYGPORT_PF }}.${{ env.CYGPORT_ARCH }}/dist/${{ env.CYGPORT_NAME }}/** fail_on_unmatched_files: true target_commitish: ${{ github.sha }}