Skip to content

Commit

Permalink
Fix names for lockfiles - again
Browse files Browse the repository at this point in the history
  • Loading branch information
noemifrisina committed Apr 22, 2024
1 parent ef1bfd1 commit bd095be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/actions/install_requirements/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ runs:
- name: Upload lockfiles
uses: actions/[email protected]
with:
name: lockfiles-${{ inputs.python_version }}-${{ github.sha }}
name: lockfiles-${{ inputs.python_version }}-${{ inputs.artifact_name }}-${{ github.sha }}
path: lockfiles

# This eliminates the class of problems where the requirements being given no
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:
pipx run build
- name: Upload sdist and wheel as artifacts
uses: actions/upload-artifact@v4.0.0
uses: actions/upload-artifact@v4.3.1
with:
name: ${{ env.DIST_WHEEL_PATH }}
path: dist
Expand All @@ -114,6 +114,7 @@ jobs:
python_version: '3.10'
requirements_file: requirements.txt
install_options: dist/*.whl
artifact_name: dist

- name: Test module --version works using the installed wheel
# If more than one module in src/ replace with module name to test
Expand All @@ -139,7 +140,7 @@ jobs:

- name: Rename lockfiles and dist
run: |
mv lockfiles-${{ env.CONTAINER_PYTHON }}-${{ github.sha }} lockfiles
mv lockfiles-${{ env.CONTAINER_PYTHON }}-dist-${{ github.sha }} lockfiles
mv ${{ env.DIST_WHEEL_PATH }} dist
- name: Fixup blank lockfiles
Expand Down

0 comments on commit bd095be

Please sign in to comment.