|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
# GitHub Actions Workflow created for testing and preparing the plugin release in following steps:
|
|
|
|
|
# GitHub Actions Workflow is created for testing and preparing the plugin release in the following steps:
|
|
|
|
|
# - validate Gradle Wrapper,
|
|
|
|
|
# - run 'test' and 'verifyPlugin' tasks,
|
|
|
|
|
# - run Qodana inspections,
|
|
|
|
@ -149,7 +149,7 @@ jobs:
|
|
|
|
|
- name: Fetch Sources
|
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
|
|
|
|
|
|
# Remove old release drafts by using the curl request for the available releases with draft flag
|
|
|
|
|
# Remove old release drafts by using the curl request for the available releases with a draft flag
|
|
|
|
|
- name: Remove Old Release Drafts
|
|
|
|
|
env:
|
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
@ -158,7 +158,7 @@ jobs:
|
|
|
|
|
--jq '.[] | select(.draft == true) | .id' \
|
|
|
|
|
| xargs -I '{}' gh api -X DELETE repos/{owner}/{repo}/releases/{}
|
|
|
|
|
|
|
|
|
|
# Create new release draft - which is not publicly visible and requires manual acceptance
|
|
|
|
|
# Create a new release draft which is not publicly visible and requires manual acceptance
|
|
|
|
|
- name: Create Release Draft
|
|
|
|
|
env:
|
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
|