release - Switch to softprops/action-gh-release@v0.1.15 (#4870)

Summary:
This diff switches to `softprops/action-gh-release@v0.1.15` for creating a release since `actions/create-release` is *archived* and is **NOT maintained**.

### Ref.:
- `actions/create-release` archived and not maintained notice: https://github.com/actions/create-release
- `softprops/action-gh-release@v0.1.15` changelog: https://github.com/softprops/action-gh-release/releases/tag/v0.1.15

## Changelog:

[GENERAL] [SECURITY] - [Actions] `release` - Switch to `softprops/action-gh-release@v0.1.15` to create a release

Pull Request resolved: https://github.com/facebook/flipper/pull/4870

Test Plan: - Workflow should run and work as usual.

Reviewed By: lblasa

Differential Revision: D47829486

Pulled By: passy

fbshipit-source-id: fea3b9ed7b76736bcc85d6bd1fa43a14d10a8763
This commit is contained in:
Pranav Yadav
2023-07-27 03:42:37 -07:00
committed by Facebook GitHub Bot
parent 530a621e6b
commit c212ff9d63

View File

@@ -33,12 +33,12 @@ jobs:
version_assertion_command: 'grep -q "\"version\": \"$version\"" desktop/package.json' version_assertion_command: 'grep -q "\"version\": \"$version\"" desktop/package.json'
- name: Create release - name: Create release
if: ${{ steps.tag-version-commit.outputs.tag != '' }} if: ${{ steps.tag-version-commit.outputs.tag != '' }}
uses: actions/create-release@v1 uses: softprops/action-gh-release@v0.1.15
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
tag_name: ${{ steps.tag-version-commit.outputs.tag }} tag_name: ${{ steps.tag-version-commit.outputs.tag }}
release_name: ${{ steps.tag-version-commit.outputs.tag }} name: ${{ steps.tag-version-commit.outputs.tag }}
body: | body: |
See https://github.com/facebook/flipper/blob/main/desktop/static/CHANGELOG.md See https://github.com/facebook/flipper/blob/main/desktop/static/CHANGELOG.md
for full notes. for full notes.