Unpin the upload release GHA action (#17923)

We were pinned to an old version that had deprecation warnings.

In new versions of the action leaving off properties (i.e. `draft` and
`prerelease`) tells the action to not modify those properties of the
release.
This commit is contained in:
Erik Johnston 2024-11-12 16:52:00 +00:00 committed by GitHub
parent bfb197c596
commit 73dc05c993
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 5 deletions

View file

@ -212,7 +212,7 @@ jobs:
mv debs*/* debs/ mv debs*/* debs/
tar -cvJf debs.tar.xz debs tar -cvJf debs.tar.xz debs
- name: Attach to release - name: Attach to release
uses: softprops/action-gh-release@a929a66f232c1b11af63782948aa2210f981808a # PR#109 uses: softprops/action-gh-release@v2
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
@ -220,7 +220,3 @@ jobs:
Sdist/* Sdist/*
Wheel*/* Wheel*/*
debs.tar.xz debs.tar.xz
# if it's not already published, keep the release as a draft.
draft: true
# mark it as a prerelease if the tag contains 'rc'.
prerelease: ${{ contains(github.ref, 'rc') }}

1
changelog.d/17923.misc Normal file
View file

@ -0,0 +1 @@
Unpin the upload release GHA action.