Skip to content

Commit

Permalink
add .deb artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
sinedie committed Feb 4, 2024
1 parent 6cace30 commit 9f8a6dd
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/briefcase_build_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,20 @@ jobs:
matrix:
os: [windows-2022, ubuntu-latest]
fail-fast: false
defaults:
run:
shell: bash
steps:
- run: sudo apt install libgirepository1.0-dev flatpak flatpak-builder
if: runner.os == 'Linux'
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Build and package
- name: Install dependencies
run: |
cd srtranslatorGUI
python -m pip install --upgrade pip
python -m pip install briefcase
- name: Build and package
run: |
cd srtranslatorGUI
briefcase create
briefcase build
briefcase package
Expand All @@ -39,7 +38,14 @@ jobs:
briefcase package linux flatpak
if: runner.os == 'Linux'

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

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

0 comments on commit 9f8a6dd

Please sign in to comment.