Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build on older version of linux ubuntu #52

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
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
Prev Previous commit
Next Next commit
fix os naming
luiztauffer committed Aug 16, 2024
commit ac8464526690215b0cd0c5f8836e272c9b6e2914
5 changes: 4 additions & 1 deletion .github/workflows/build-and-release-linux-older.yml
Original file line number Diff line number Diff line change
@@ -19,6 +19,9 @@ jobs:
run:
shell: bash -l {0}

env:
LINUX_DISTRO: ubuntu-20.04

steps:
- uses: actions/checkout@v4

@@ -41,4 +44,4 @@ jobs:
- name: Build on Linux (Ubuntu 20.04)
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npm run build:ubuntu20 --publish=always
run: npm run build:linux --publish=always
5 changes: 4 additions & 1 deletion .github/workflows/build-and-release-linux.yml
Original file line number Diff line number Diff line change
@@ -19,6 +19,9 @@ jobs:
run:
shell: bash -l {0}

env:
LINUX_DISTRO: ubuntu-latest

steps:
- uses: actions/checkout@v4

@@ -27,7 +30,7 @@ jobs:
python-version: "3.11"

- name: install python dependencies
run: |
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
8 changes: 1 addition & 7 deletions electron-builder.yml
Original file line number Diff line number Diff line change
@@ -35,13 +35,7 @@ dmg:
artifactName: ${name}-${version}-macos-${arch}.${ext}
writeUpdateInfo: false
linux:
artifactName: ${name}-${version}-linux.${ext}
target:
- deb
maintainer: electronjs.org
category: Utility
ubuntu20:
artifactName: ${name}-${version}-ubuntu20.${ext}
artifactName: ${name}-${version}-${env.LINUX_DISTRO}.${ext}
target:
- deb
maintainer: electronjs.org