-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e5bee81
commit a6095ab
Showing
2 changed files
with
7 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ permissions: | |
jobs: | ||
release: | ||
name: Release | ||
runs-on: self-hosted | ||
runs-on: macos-latest | ||
permissions: | ||
contents: write # to be able to publish a GitHub release | ||
issues: write # to be able to comment on released issues | ||
|
@@ -38,23 +38,17 @@ jobs: | |
- name: Install dependencies | ||
run: pnpm install | ||
|
||
- name: Rebuild native modules for Electron | ||
run: pnpm build:mac | ||
|
||
- name: Verify the integrity of provenance attestations and registry signatures for installed dependencies | ||
run: pnpm audit signatures | ||
|
||
# Save the DMG file for later steps | ||
- name: Save DMG output | ||
run: | | ||
ls dist/mac/*.dmg | ||
echo "DMG_PATH=$(ls dist/mac/*.dmg)" >> $GITHUB_ENV | ||
- name: Semantic Release | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: npx semantic-release | ||
|
||
- name: Upload DMG to GitHub Release | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
files: ${{ env.DMG_PATH }} | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
uses: softprops/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
appId: com.electron.app | ||
appId: com.deepfocus.app | ||
productName: Deep Focus | ||
directories: | ||
output: dist | ||
|