feat[scrap_translate] Optimize clear join line #6
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Briefcase Build | |
on: | |
push: | |
branches: | |
- master | |
tags: | |
- "v[0-9].*" | |
jobs: | |
briefcase: | |
name: Bundle on ${{ matrix.os }} / ${{ matrix.python-version }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [windows-2022, ubuntu-latest] | |
fail-fast: false | |
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: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install briefcase | |
- name: Create and build briefcase | |
run: | | |
cd srtranslatorGUI | |
briefcase create | |
briefcase build | |
- 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 flatpak | |
run: | | |
cd srtranslatorGUI | |
briefcase package linux flatpak | |
if: runner.os == '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: | |
name: ${{ github.ref_name }}-${{ matrix.os }}.flatpak | |
path: "srtranslatorGUI/dist/*.flatpak" | |
- name: Upload Artifact for Windows | |
uses: actions/upload-artifact@v2 | |
if: runner.os == 'Windows' | |
with: | |
name: ${{ github.ref_name }}-${{ matrix.os }}.msi | |
path: "**/*.msi" |