File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5151 run : hdiutil verify dist/Taskito.dmg
5252
5353 - name : Upload Release Asset
54+ if : github.event_name == 'release'
5455 uses : actions/upload-release-asset@v1
5556 with :
5657 upload_url : ${{ github.event.release.upload_url }}
5960 asset_content_type : application/x-apple-diskimage
6061 env :
6162 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
63+
64+ - name : Upload DMG as Artifact
65+ if : github.event_name == 'workflow_dispatch'
66+ uses : actions/upload-artifact@v4
67+ with :
68+ name : Taskito-DMG
69+ path : dist/Taskito.dmg
70+ retention-days : 30
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ The repository includes a GitHub Action that automatically builds and creates a
62621 . Go to "Actions" tab in the GitHub repository
63632 . Select "Build and Release macOS App" workflow
64643 . Click "Run workflow"
65- 4 . The DMG will be available in the workflow artifacts
65+ 4 . Once complete, download the DMG from the workflow run's "Artifacts" section
6666
6767## Installation
6868
You can’t perform that action at this time.
0 commit comments