Skip to content

Commit b2eb093

Browse files
authored
Merge pull request #13536 from pytest-dev/patchback/backports/8.4.x/0682cbe50641e56a3a4b0a4a2ada938cbcdd668d/pr-13524
[PR #13524/0682cbe5 backport][8.4.x] ci: replace softprops/action-gh-release with `gh release create` command
2 parents 0857115 + 9bce91e commit b2eb093

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/deploy.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,8 @@ jobs:
109109
tox -e generate-gh-release-notes -- "$VERSION" scripts/latest-release-notes.md
110110
111111
- name: Publish GitHub Release
112-
uses: softprops/action-gh-release@da05d552573ad5aba039eaac05058a918a7bf631
113-
with:
114-
body_path: scripts/latest-release-notes.md
115-
files: dist/*
116-
tag_name: ${{ github.event.inputs.version }}
112+
env:
113+
VERSION: ${{ github.event.inputs.version }}
114+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
115+
run: |
116+
gh release create --notes-file scripts/latest-release-notes.md --verify-tag "$VERSION" dist/*

0 commit comments

Comments
 (0)