Skip to content

Commit

Permalink
Update release.yaml to work with new upload/download
Browse files Browse the repository at this point in the history
actions/upload-artifact and actions/download-artifact both were updated with breaking changes which caused release.yaml not to run anymore. This attempts to fix the release mechanism to working order again.

Key change is that upload-artifact must now use unique names and dowload-artifact must be changed to merge all files into a single directory for twine to pick up.
  • Loading branch information
michael-okeefe authored Dec 9, 2024
1 parent 6cb43d1 commit e4f7532
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ jobs:

- uses: actions/upload-artifact@v4
with:
name: artifact-py3.${{ matrix.python-version }}-${{ matrix.os }}
path: ./dist/*

release:
Expand All @@ -122,6 +123,9 @@ jobs:
steps:
- name: download files
uses: actions/download-artifact@v4
with:
merge-multiple: true
path: artifact

- name: set up Python 3.10
uses: actions/setup-python@v4
Expand Down

0 comments on commit e4f7532

Please sign in to comment.