Skip to content

Commit

Permalink
Unpin the upload release GHA action (#17923)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
erikjohnston authored Nov 12, 2024
1 parent bfb197c commit 73dc05c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/release-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -212,15 +212,11 @@ jobs:
mv debs*/* debs/
tar -cvJf debs.tar.xz debs
- name: Attach to release
uses: softprops/action-gh-release@a929a66f232c1b11af63782948aa2210f981808a # PR#109
uses: softprops/action-gh-release@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files: |
Sdist/*
Wheel*/*
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 change: 1 addition & 0 deletions changelog.d/17923.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Unpin the upload release GHA action.

0 comments on commit 73dc05c

Please sign in to comment.