]> source.dussan.org Git - sonar-scanner-cli.git/commitdiff
BUILD Switch to maintained release action
authorMalena Ebert <63863184+malena-ebert-sonarsource@users.noreply.github.com>
Thu, 29 Apr 2021 08:33:10 +0000 (10:33 +0200)
committerWouter Admiraal <45544358+wouter-admiraal-sonarsource@users.noreply.github.com>
Thu, 29 Apr 2021 09:10:42 +0000 (11:10 +0200)
.github/workflows/release.yml

index 69c76c61cff274aefa4e5bed2cccf5d5a5eaed1e..0a52753f099185f8f75070d937fe737aa3952f77 100644 (file)
@@ -47,16 +47,15 @@ jobs:
         args: "Release successful for {{ GITHUB_REPOSITORY }} by {{ GITHUB_ACTOR }}"
     - name: Create Release for Docker Image
       id: create_release
-      uses: actions/create-release@v1
+      uses: softprops/action-gh-release@v1
       env:
         GITHUB_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN }}
+        GITHUB_REPOSITORY: SonarSource/sonar-scanner-cli-docker
       with:
         tag_name: ${{ github.event.release.tag_name }}
-        release_name: ${{ github.event.release.tag_name }}
         body: Release containing ScannerCLI version ${{ github.event.release.tag_name }}
         draft: false
         prerelease: false
-        repo: SonarSource/sonar-scanner-cli-docker
     - name: Notify failures on Slack
       uses: Ilshidur/action-slack@2.0.0
       if: failure()