You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
853 B
39 lines
853 B
# Builds Linux AppImage + deb and attaches them to a GitHub Release when you push a tag like v19.2.3 |
|
name: Release Electron (Linux) |
|
|
|
on: |
|
push: |
|
tags: |
|
- 'v*' |
|
|
|
permissions: |
|
contents: write |
|
|
|
jobs: |
|
linux: |
|
runs-on: ubuntu-latest |
|
steps: |
|
- uses: actions/checkout@v4 |
|
|
|
- uses: actions/setup-node@v4 |
|
with: |
|
node-version: '22' |
|
cache: 'npm' |
|
|
|
- name: Install dependencies |
|
run: npm ci |
|
|
|
- name: Build & pack |
|
run: npm run electron:pack |
|
env: |
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
|
|
|
- name: Upload artifacts to release |
|
uses: softprops/action-gh-release@v2 |
|
with: |
|
files: | |
|
release/*.AppImage |
|
release/*.deb |
|
generate_release_notes: true |
|
env: |
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|