Skip to content

Commit 3324af0

Browse files
edavidajatdstein
andauthored
remove deprecated actions (#631)
* remove deprecated actions * Update .github/workflows/main.yml Co-authored-by: Taylor Steinberg <[email protected]> --------- Co-authored-by: Taylor Steinberg <[email protected]>
1 parent 801d8f0 commit 3324af0

File tree

1 file changed

+6
-18
lines changed

1 file changed

+6
-18
lines changed

.github/workflows/main.yml

+6-18
Original file line numberDiff line numberDiff line change
@@ -88,25 +88,13 @@ jobs:
8888
- run: pip install -vvv ${{ steps.create_dist.outputs.whl }}
8989
- run: rsconnect version
9090
- run: rsconnect --help
91-
- if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
92-
id: create_release
93-
uses: actions/create-release@v1
94-
env:
95-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
96-
with:
97-
tag_name: ${{ github.ref }}
98-
release_name: Release ${{ github.ref }}
99-
draft: false
100-
prerelease: false
101-
- if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
102-
uses: actions/upload-release-asset@v1
103-
env:
104-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
91+
- name: release
92+
uses: softprops/action-gh-release@v2
93+
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
10594
with:
106-
upload_url: ${{ steps.create_release.outputs.upload_url }}
107-
asset_path: ${{ steps.create_dist.outputs.whl }}
108-
asset_name: ${{ steps.create_dist.outputs.whl_basename }}
109-
asset_content_type: application/x-wheel+zip
95+
files: |
96+
*.whl
97+
token: ${{ secrets.GITHUB_TOKEN }}
11098
- uses: aws-actions/configure-aws-credentials@v4
11199
id: creds
112100
with:

0 commit comments

Comments
 (0)