55
66name : Upload Python Package to test.pypi.org
77
8- on : [pull_request]
8+ on : [pull_request] # yamllint disable-line rule:truthy
99
1010permissions :
1111 contents : write
@@ -15,12 +15,12 @@ jobs:
1515 runs-on : ubuntu-latest
1616 steps :
1717 - name : Checkout
18- uses : actions/checkout@v4
18+ uses : actions/checkout@v6
1919 with :
2020 # all history is needed to crawl it properly
2121 fetch-depth : 0
2222 - name : Set up Python
23- uses : actions/setup-python@v5
23+ uses : actions/setup-python@v6
2424 with :
2525 python-version : ' 3.11'
2626 - name : Install build dependencies
4747 rm dist/*.orig
4848 twine check dist/*.tar.gz
4949 - name : Archive build package artifact
50- uses : actions/upload-artifact@v3
50+ uses : actions/upload-artifact@v7
5151 with :
5252 # https://docs.github.com/en/actions/learn-github-actions/contexts#github-context
5353 # ${{ github.repository }} and ${{ github.ref_name }} can't be used
@@ -56,15 +56,15 @@ jobs:
5656 path : dist/*.tar.gz
5757 retention-days : 14
5858 - name : Publish package
59- uses : pypa/gh-action-pypi-publish@release/v1.5
59+ uses : pypa/gh-action-pypi-publish@release/v1.13
6060 with :
6161 repository_url : https://test.pypi.org/legacy/
6262 password : ${{ secrets.TEST_PYPI_API_TOKEN }}
6363 skip_existing : true
6464 verbose : true
6565 print_hash : true
6666 - name : ' Create changelog based prerelease'
67- uses : brainelectronics/changelog-based-release@v1
67+ uses : brainelectronics/changelog-based-release@v1.1.0
6868 with :
6969 # note you'll typically need to create a personal access token
7070 # with permissions to create releases in the other repo
0 commit comments