From ea2263f66924a9ce1592a0eec8b7a5703a599405 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sat, 2 Nov 2024 07:10:22 -0400 Subject: [PATCH] build: tell upload-artifact to upload what i told it to upload upload-artifact tries to protect me by refusing to upload hidden files, even if I explicitly request those files with my `path` setting. Issue here: https://github.com/actions/upload-artifact/issues/614 I have to enable hidden file uploads to get it to work with 4.4. --- .github/workflows/coverage.yml | 2 ++ .github/workflows/kit.yml | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index f7d091345..91844afec 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -129,6 +129,7 @@ jobs: with: name: metacov-${{ env.MATRIX_ID }} path: .metacov.* + include-hidden-files: true combine: name: "Combine coverage data" @@ -187,6 +188,7 @@ jobs: with: name: html_report path: htmlcov + include-hidden-files: true - name: "Get total" id: total diff --git a/.github/workflows/kit.yml b/.github/workflows/kit.yml index 6dac420e3..b20c2db67 100644 --- a/.github/workflows/kit.yml +++ b/.github/workflows/kit.yml @@ -308,6 +308,5 @@ jobs: uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6 with: name: signatures - path: | - *.sigstore.json + path: *.sigstore.json retention-days: 7