From f059eef41d3873642dc9a198d5dab82680f4c902 Mon Sep 17 00:00:00 2001 From: Dominic Oram Date: Thu, 4 Jan 2024 13:03:07 +0000 Subject: [PATCH] Upload artifacts with unique names --- .github/actions/install_requirements/action.yml | 2 +- .github/workflows/code.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/install_requirements/action.yml b/.github/actions/install_requirements/action.yml index 10b98543..b0d68027 100644 --- a/.github/actions/install_requirements/action.yml +++ b/.github/actions/install_requirements/action.yml @@ -38,7 +38,7 @@ runs: - name: Upload lockfiles uses: actions/upload-artifact@v4 with: - name: lockfiles + name: lockfiles-${{ inputs.python_version }}-${{ github.sha }} path: lockfiles # This eliminates the class of problems where the requirements being given no diff --git a/.github/workflows/code.yml b/.github/workflows/code.yml index c53b411b..2fad6f79 100644 --- a/.github/workflows/code.yml +++ b/.github/workflows/code.yml @@ -90,7 +90,7 @@ jobs: - name: Upload sdist and wheel as artifacts uses: actions/upload-artifact@v4 with: - name: dist + name: dist-${{ github.sha }} path: dist - name: Check for packaging errors