Skip to content

Commit

Permalink
Package .app into dmg
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeMartin-ICL committed Dec 15, 2022
1 parent a35cf29 commit 72f1bd2
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ jobs:
include:
- os: ubuntu-latest
artifact_name: steamStorageOptimiser
asset_name: steamStorageOptimiser-linux
asset_name: steamStorageOptimiser
- os: windows-latest
artifact_name: steamStorageOptimiser.exe
asset_name: steamStorageOptimiser-windows.exe
asset_name: steamStorageOptimiser.exe
- os: macos-latest
artifact_name: steamStorageOptimiser.app
asset_name: steamStorageOptimiser-macos.app
asset_name: steamStorageOptimiser-macos.dmg

steps:
- uses: actions/checkout@v2
Expand All @@ -32,8 +32,14 @@ jobs:
- name: Build Release
run: pyinstaller -F --windowed src/steamStorageOptimiser.py
- run: ls -R
- name: Package
if: runner.os == 'macOS'
uses: QQxiaoming/create-dmg-action@v0.0.2
with:
name: 'steamStorageOptimiser-macos'
srcdir: './dist/${{ matrix.artifact_name }}'
- name: Upload binaries to release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: ./dist/${{ matrix.artifact_name }}
files: ./dist/${{ matrix.asset_name }}

0 comments on commit 72f1bd2

Please sign in to comment.