From 148b17d1c2a9828da12f51de8937100c254d44ff Mon Sep 17 00:00:00 2001 From: Justus Magin Date: Tue, 12 May 2026 16:16:31 +0200 Subject: [PATCH 1/3] use a wildcard instead and error if no files --- .github/workflows/release.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4ac46ca..6d4badb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,9 +38,8 @@ jobs: uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: name: release artifacts - path: | - env.yml - requirements.txt + path: "*.{yml,txt}" + if-no-files-found: error extend-release: needs: build From 73b0b97a9783218e09c8225f7f0e16337496a346 Mon Sep 17 00:00:00 2001 From: Justus Magin Date: Tue, 12 May 2026 16:17:34 +0200 Subject: [PATCH 2/3] fix the typo --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6d4badb..b8b772d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,7 +32,7 @@ jobs: - name: generate artifacts run: | pixi run conda-environment env.yml - pixi run requirements requirements.yml + pixi run requirements requirements.txt - name: save artifacts uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 From 09f167c2cd9ee46d690c5f52afb127463316cd7d Mon Sep 17 00:00:00 2001 From: Justus Magin Date: Tue, 12 May 2026 16:18:16 +0200 Subject: [PATCH 3/3] back to an explicit list of files --- .github/workflows/release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b8b772d..fa898c8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,7 +38,9 @@ jobs: uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: name: release artifacts - path: "*.{yml,txt}" + path: | + env.yml + requirements.txt if-no-files-found: error extend-release: