Skip to content

Commit

Permalink
Updated release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
levisen committed Jul 9, 2023
1 parent fe4bd9b commit f06760b
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,32 +44,36 @@ jobs:
run: npm run dist
if: startsWith(matrix.os, 'win') || startsWith(matrix.os, 'ubuntu')

- name: Package Mac
run: PYTHON_PATH=$(which python) npm run dist
if: startsWith(matrix.os, 'mac')

- name: Upload Linux Version
uses: actions/upload-artifact@v2
with:
path: ./release/INTO-CPS-Application-${{ steps.version.outputs.result }}.AppImage
name: INTO-CPS-Application-${{ steps.version.outputs.result }}-linux_x64.AppImage
name: INTO-CPS-Application-${{ steps.version.outputs.result }}-linux.AppImage
if: startsWith(matrix.os, 'ubuntu')

- name: Upload Windows Version
uses: actions/upload-artifact@v2
with:
path: ./release/INTO-CPS-Application Setup ${{ steps.version.outputs.result }}.exe
name: INTO-CPS-Application-${{ steps.version.outputs.result }}-win_x86-Setup.exe
name: INTO-CPS-Application-${{ steps.version.outputs.result }}-win-setup.exe
if: startsWith(matrix.os, 'windows')

- name: Upload Portable Windows Version
uses: actions/upload-artifact@v2
with:
path: ./release/INTO-CPS-Application ${{ steps.version.outputs.result }}.exe
name: INTO-CPS-Application-${{ steps.version.outputs.result }}-win_x86-Portable.exe
name: INTO-CPS-Application-${{ steps.version.outputs.result }}-win-portable.exe
if: startsWith(matrix.os, 'windows')

- name: Upload Dmg
uses: actions/upload-artifact@v2
with:
path: ./release/INTO-CPS-Application-${{ steps.version.outputs.result }}.dmg
name: INTO-CPS-Application-${{ steps.version.outputs.result }}-darwin_x64.dmg
name: INTO-CPS-Application-${{ steps.version.outputs.result }}-mac.dmg
if: startsWith(matrix.os, 'mac')

- name: Upload Darwin Zip
Expand Down

0 comments on commit f06760b

Please sign in to comment.