From e301f4bed975b469045bf89ec1a5ec5f953d9521 Mon Sep 17 00:00:00 2001 From: Bernd Ruecker Date: Tue, 21 Sep 2021 12:22:55 +0200 Subject: [PATCH] switched to ncipollo --- .github/workflows/main.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d056ba88..dc9d7d6f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -59,12 +59,9 @@ jobs: filename: 'camunda-modeler-plugin-platform-to-cloud-converter.zip' exclusions: '*.git* /*node_modules/*' - if: github.event.release - name: Attach artifacts to GitHub Release (Release only) - uses: actions/upload-release-asset@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + name: Upload Release + uses: ncipollo/release-action@v1 with: - upload_url: ${{ steps.archive_plugin.outputs.upload_url }} - asset_path: camunda-modeler-plugin-platform-to-cloud-converter.zip - asset_name: camunda-modeler-plugin-platform-to-cloud-converter.zip - asset_content_type: application/zip + artifacts: "camunda-modeler-plugin-platform-to-cloud-converter.zip" + allowUpdates: true + token: ${{ secrets.GITHUB_TOKEN }}