Skip to content

Commit

Permalink
v4 generate and merge upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Jhsmit committed Nov 27, 2024
1 parent 75bf557 commit 5c342db
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/pin_requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
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-*

0 comments on commit 5c342db

Please sign in to comment.