Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 27 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,17 +119,39 @@ jobs:
- name: Install dependencies
run: npm install --force

- name: Install Snapcraft
run: |
sudo snap install snapcraft --classic

- name: 🐧 Release Linux (GitHub AppImage)
run: npm run publish-linux
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}

# Own job so a Snap Store outage never blocks the other platforms; a failure here does not fail the run.
snap:
needs: prepare
runs-on: ubuntu-latest
continue-on-error: true
timeout-minutes: 30
env:
VERSION: ${{ needs.prepare.outputs.version }}
steps:
- name: Check out Git repository
uses: actions/checkout@v7
with:
ref: v${{ needs.prepare.outputs.version }}

- name: Install Node.js and npm
uses: actions/setup-node@v7
with:
node-version: '22.x'

- name: Install dependencies
run: npm install --force

- name: Install Snapcraft
run: |
for i in 1 2 3; do sudo snap install snapcraft --classic && exit 0; sleep 30; done
exit 1

- name: 📦 Publish Snap
continue-on-error: true
run: npm run publish-snap
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,6 @@ jobs:
- name: Install NPM Dependencies
run: npm install --force

- name: Install Snapcraft
if: matrix.os == 'ubuntu-latest'
run: |
sudo snap install snapcraft --classic

- name:  Build Mac
if: matrix.os == 'macos-latest'
run: npm run build-mac
Expand All @@ -45,7 +40,6 @@ jobs:
run: npm run build-linux
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_STORE_CREDENTIALS }}

- name: 💻 Build Windows
if: matrix.os == 'windows-latest'
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@
{
"target": "nsis",
"arch": [
"ia32",
"x64"
]
}
Expand Down
Loading