From 48dff12ec0703e0644f1470e4ab9353359ed1dcf Mon Sep 17 00:00:00 2001 From: Evan Brown Date: Mon, 7 Aug 2023 14:36:41 -0400 Subject: [PATCH] update to use action-gh-release --- .github/workflows/release_windows.yml | 27 ++++++++++----------------- 1 file changed, 10 insertions(+), 17 deletions(-) diff --git a/.github/workflows/release_windows.yml b/.github/workflows/release_windows.yml index 4bcaa35..b0f0f55 100644 --- a/.github/workflows/release_windows.yml +++ b/.github/workflows/release_windows.yml @@ -11,23 +11,16 @@ jobs: steps: - uses: ./.github/workflows/build_windows secrets: inherit - - name: Upload Release executable setup - id: upload-exe-asset - uses: actions/upload-release-asset@v1 + - name: Prepare Assets + run: | + mv dist/alcli_setup.exe AlertlogicCLISetup.exe + mv dist/alcli_setup.msi AlertlogicCLISetup.msi + - name: Upload Release Assets + id: upload-assets + uses: softprops/action-gh-release@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - upload_url: ${{ github.event.release.upload_url }} - asset_path: dist\alcli_setup.exe - asset_name: AlertlogicCLISetup.exe - asset_content_type: application/zip - - name: Upload Release MSI setup - id: upload-msi-asset - uses: actions/upload-release-asset@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - upload_url: ${{ github.event.release.upload_url }} - asset_path: dist\alcli_setup.msi - asset_name: AlertlogicCLISetup.msi - asset_content_type: application/zip + files: | + AlertlogicCLISetup.exe + AlertlogicCLISetup.msi