Updates the action to create a release to a maintained version

This commit is contained in:
Trenton H
2023-11-22 09:03:34 -08:00
parent 247a14369d
commit ef5383296a
+6 -7
View File
@@ -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
@@ -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