Skip to content

Commit

Permalink
update to use action-gh-release
Browse files Browse the repository at this point in the history
  • Loading branch information
ebrown-al committed Aug 7, 2023
1 parent 973ddfa commit 48dff12
Showing 1 changed file with 10 additions and 17 deletions.
27 changes: 10 additions & 17 deletions .github/workflows/release_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 48dff12

Please sign in to comment.