Skip to content

Commit

Permalink
Merge pull request #6025 from stumpylog/main
Browse files Browse the repository at this point in the history
Chore: Resolve CI deprecation warnings
  • Loading branch information
matteius committed Dec 6, 2023
2 parents 62c11f3 + ef53832 commit 230f200
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/pypi_upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,17 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: ncipollo/release-action@v1
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
tag: ${{ github.ref }}
name: Release ${{ github.ref_name }}
draft: false
prerelease: false
token: ${{ secrets.GITHUB_TOKEN }}

- name: Set up Python 3.10
uses: actions/setup-python@v4
Expand All @@ -56,7 +55,7 @@ jobs:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
# repository_url: https://test.pypi.org/legacy/
packages_dir: dist/
packages-dir: dist/

# git push https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git HEAD:master
# we need to use a deploy key for this to get around branch protection as the default token fails
Expand Down

0 comments on commit 230f200

Please sign in to comment.