Skip to content

Commit

Permalink
add .deb and .appimage in linux
Browse files Browse the repository at this point in the history
  • Loading branch information
sinedie committed Feb 5, 2024
1 parent 9f8a6dd commit 4d5055a
Showing 1 changed file with 29 additions and 2 deletions.
31 changes: 29 additions & 2 deletions .github/workflows/briefcase_build_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,36 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: "3.10"

- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install briefcase
- name: Build and package
- name: Create and build briefcase
run: |
cd srtranslatorGUI
briefcase create
briefcase build
briefcase package
- name: Package Windows
run: |
cd srtranslatorGUI
briefcase package windows
if: runner.os == 'Windows'

- name: Package Linux .deb
run: |
cd srtranslatorGUI
briefcase package linux
if: runner.os == 'Linux'

- name: Package Linux .appimage
run: |
cd srtranslatorGUI
briefcase package linux appimage
if: runner.os == 'Linux'

- name: Package Linux flatpak
run: |
cd srtranslatorGUI
Expand All @@ -45,6 +65,13 @@ jobs:
name: ${{ github.ref_name }}-${{ matrix.os }}.deb
path: "srtranslatorGUI/dist/*.deb"

- name: Upload .appimage Artifact for Linux
uses: actions/upload-artifact@v2
if: runner.os == 'Linux'
with:
name: ${{ github.ref_name }}-${{ matrix.os }}.appimage
path: "srtranslatorGUI/dist/*.appimage"

- name: Upload flatpack Artifact for Linux
uses: actions/upload-artifact@v2
if: runner.os == 'Linux'
Expand Down

0 comments on commit 4d5055a

Please sign in to comment.