Skip to content

Commit

Permalink
Use wildcards for path of artifact to upload.
Browse files Browse the repository at this point in the history
  • Loading branch information
lgautier committed Feb 6, 2023
1 parent 90ec811 commit 304e37d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/pythonpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,13 @@ jobs:
uses: actions/upload-artifact@v3
if: (github.event_name == 'pull_request' || github.event_name == 'push') && matrix.r-version == env.default_r
with:
name: ${{ steps.getfilename_wheel.outputs.file }}
path: dist/${{ steps.getfilename_wheel.outputs.file }}
name: ${{ matrix.python-version }}-${{ matrix.os }}-${{ matrix.r-version }}
path: dist/*.whl
- name: Create source package for master
uses: actions/upload-artifact@v3
if: (github.event_name == 'pull_request' || github.event_name == 'push') && (matrix.r-version == env.default_r && matrix.os == env.default_os && matrix.python-version == env.default_python)
with:
name: ${{ steps.getfilename_targz.outputs.file }}
path: dist/${{ steps.getfilename_targz.outputs.file }}
path: dist/*.whl
- name: Publish
if: github.event_name == 'release'
uses: pypa/gh-action-pypi-publish@release/v1
Expand Down

0 comments on commit 304e37d

Please sign in to comment.