Skip to content

Commit

Permalink
Merge pull request #1231 from NicolasT/modernify-release-workflow
Browse files Browse the repository at this point in the history
ci: update `release` workflow
  • Loading branch information
NicolasT authored Sep 23, 2024
2 parents 8b311ee + 1880a3f commit 5165e9c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
steps:
- name: Check out the repository
uses: actions/[email protected]
Expand Down Expand Up @@ -41,7 +42,7 @@ jobs:
- name: Check if there is a parent commit
id: check-parent-commit
run: |
echo "::set-output name=sha::$(git rev-parse --verify --quiet HEAD^)"
echo "sha=$(git rev-parse --verify --quiet HEAD^)" >> $GITHUB_OUTPUT
- name: Detect and tag new version
id: check-version
Expand Down Expand Up @@ -79,7 +80,7 @@ jobs:
with:
user: __token__
password: "${{ secrets.TEST_PYPI_TOKEN }}"
repository_url: https://test.pypi.org/legacy/
repository-url: https://test.pypi.org/legacy/

- name: Publish the release notes
uses: release-drafter/[email protected]
Expand Down

0 comments on commit 5165e9c

Please sign in to comment.