From 9f8a6dd3ee0d3fec7ee5ce0d0f452b7ebf8962d5 Mon Sep 17 00:00:00 2001 From: EAR Date: Sun, 4 Feb 2024 18:55:25 -0500 Subject: [PATCH] add .deb artifact --- .github/workflows/briefcase_build_docker.yml | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/.github/workflows/briefcase_build_docker.yml b/.github/workflows/briefcase_build_docker.yml index 1f4ce68..108ef55 100644 --- a/.github/workflows/briefcase_build_docker.yml +++ b/.github/workflows/briefcase_build_docker.yml @@ -15,9 +15,6 @@ 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' @@ -25,11 +22,13 @@ jobs: - 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 @@ -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: