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: