From 5c342dbed880f949253dda89024ea00db2fe1348 Mon Sep 17 00:00:00 2001 From: Jochem Smit Date: Wed, 27 Nov 2024 12:11:20 +0100 Subject: [PATCH] v4 generate and merge upload --- .github/workflows/pin_requirements.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pin_requirements.yml b/.github/workflows/pin_requirements.yml index 5afc39c..2805588 100644 --- a/.github/workflows/pin_requirements.yml +++ b/.github/workflows/pin_requirements.yml @@ -25,7 +25,16 @@ jobs: run: uv pip compile --all-extras pyproject.toml -o requirements-${{ matrix.os }}-${{ matrix.python-version }}.txt - name: Upload requirements file - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: requirements - path: requirements-${{ matrix.os }}-${{ matrix.python-version }}.txt \ No newline at end of file + name: req-artifact-${{ matrix.os }}-${{ matrix.python-version }} + path: requirements-${{ matrix.os }}-${{ matrix.python-version }}.txt + merge: + runs-on: ubuntu-latest + needs: generate-requirements + steps: + - name: Merge Artifacts + uses: actions/upload-artifact/merge@v4 + with: + name: all-requirements + pattern: req-artifact-* \ No newline at end of file