Skip to content

Commit

Permalink
Updated workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
medcelerate committed Feb 17, 2023
1 parent 08f4a44 commit 20bc086
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,33 +62,35 @@ jobs:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: |
Changes in this Release
- First Change
- Second Change
Newest Push
draft: false
prerelease: false
- name: download artifacts
uses: actions/download-artifact@v1
with:
name: uploads
name: uploads
- name: compress macos
run: zip ./uploads/PomfortProxyMac.zip ./uploads/PomfortProxy
- name: compress windows
run: zip ./uploads/PomfortProxyWindows.zip ./uploads/PomfortProxy.exe
- name: upload macos
id: upload-macos
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./uploads/PomfortProxy
asset_path: ./uploads/PomfortProxyMac.zip
asset_name: PomfortProxy
asset_content_type: application/octet-stream
asset_content_type: application/zip
- name: upload windows
id: upload-windows
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./uploads/PomfortProxy.exe
asset_path: ./uploads/PomfortProxyWindows.zip
asset_name: PomfortProxy.exe
asset_content_type: application/octet-stream
asset_content_type: application/zip

0 comments on commit 20bc086

Please sign in to comment.