Skip to content

Commit

Permalink
chore: update to use latest build
Browse files Browse the repository at this point in the history
  • Loading branch information
timeowilliams committed Sep 30, 2024
1 parent e5bee81 commit a6095ab
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 13 deletions.
18 changes: 6 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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]

2 changes: 1 addition & 1 deletion electron-builder.yml
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
Expand Down

0 comments on commit a6095ab

Please sign in to comment.