diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d682ec9..d07c166 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -115,25 +115,21 @@ jobs: - name: Add plugin to release id: upload-plugin-asset - uses: actions/upload-release-asset@v1 + uses: softprops/action-gh-release@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./${{ steps.metadata.outputs.archive }} - asset_name: ${{ steps.metadata.outputs.archive }} - asset_content_type: application/zip + files: | + ./${{ steps.metadata.outputs.archive }} - name: Add checksum to release id: upload-checksum-asset - uses: actions/upload-release-asset@v1 + uses: softprops/action-gh-release@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./${{ steps.metadata.outputs.archive-checksum }} - asset_name: ${{ steps.metadata.outputs.archive-checksum }} - asset_content_type: text/plain + files: | + ./${{ steps.metadata.outputs.archive-checksum }} - name: Publish to Grafana.com run: |