Skip to content

Commit 8828d80

Browse files
committed
Use gh to create a release instead of a custom action
1 parent 75df71e commit 8828d80

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

.github/workflows/create-release.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,4 @@ jobs:
4747
./phpcbf --version
4848
- name: "Create release ${{ steps.fetch_phar.outputs.version }}"
4949
if: success() && steps.commit_push.outputs.release
50-
uses: ncipollo/release-action@v1
51-
with:
52-
name: ${{ steps.fetch_phar.outputs.name }}
53-
body: "Find the [release notes](https://github.com/PHPCSStandards/PHP_CodeSniffer/releases/tag/${{ steps.fetch_phar.outputs.version }}) for version ${{ steps.fetch_phar.outputs.version }} [here](https://github.com/PHPCSStandards/PHP_CodeSniffer/releases/tag/${{ steps.fetch_phar.outputs.version }})."
54-
tag: ${{ steps.fetch_phar.outputs.version }}
50+
run: gh release create ${{ steps.fetch_phar.outputs.version }} --title "${{ steps.fetch_phar.outputs.name }}" --notes "Find the [release notes](https://github.com/PHPCSStandards/PHP_CodeSniffer/releases/tag/${{ steps.fetch_phar.outputs.version }}) for version ${{ steps.fetch_phar.outputs.version }} [here](https://github.com/PHPCSStandards/PHP_CodeSniffer/releases/tag/${{ steps.fetch_phar.outputs.version }})."

0 commit comments

Comments
 (0)