Skip to content

Commit

Permalink
fix: include .qm file to release zip generated by workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Pauliina Paasivirta committed Sep 11, 2023
1 parent 701c0d0 commit 572f6b8
Showing 1 changed file with 26 additions and 19 deletions.
45 changes: 26 additions & 19 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,31 @@ name: Release
on:
release:
types: [released]
pull_request:
types:
- opened
- synchronize

jobs:
pypi:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: "3.9"
- run: |
pip install build
- run: |
python -m build
- uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
- uses: svenstaro/[email protected]
with:
file: dist/*
file_glob: true
# pypi:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - uses: actions/setup-python@v3
# with:
# python-version: "3.9"
# - run: |
# pip install build
# - run: |
# python -m build
# - uses: pypa/gh-action-pypi-publish@release/v1
# with:
# user: __token__
# password: ${{ secrets.PYPI_API_TOKEN }}
# - uses: svenstaro/[email protected]
# with:
# file: dist/*
# file_glob: true

qgis:
runs-on: ubuntu-latest
Expand All @@ -37,6 +41,9 @@ jobs:
- run: |
pip install -r requirements.txt --no-deps --only-binary=:all:
pip install . --no-deps
# Generate .qm files from .ts files using lrelease
- run: |
lrelease src/quality_result_gui_plugin/resources/i18n/*.ts
- run: |
qgis-plugin-dev-tools build
# no qgis repo publish yet for the dummy plugin gui
Expand Down

0 comments on commit 572f6b8

Please sign in to comment.