Skip to content

Commit a6503a7

Browse files
authored
only publish gh release from rsconnect-python (#673)
1 parent 6bbfbb6 commit a6503a7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,12 +97,12 @@ jobs:
9797
- run: pip install -vvv ${{ steps.create_dist.outputs.whl }}
9898
- run: rsconnect version
9999
- run: rsconnect --help
100-
- name: release
100+
- name: create github release
101101
uses: softprops/action-gh-release@v2
102-
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
102+
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') && matrix.package_name == 'rsconnect_python'
103103
with:
104104
files: |
105-
*.whl
105+
dist/*.whl
106106
token: ${{ secrets.GITHUB_TOKEN }}
107107
- uses: aws-actions/configure-aws-credentials@v4
108108
id: creds

0 commit comments

Comments
 (0)