-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: include .qm file to release zip generated by workflow
- Loading branch information
Pauliina Paasivirta
committed
Sep 11, 2023
1 parent
701c0d0
commit 09cce22
Showing
1 changed file
with
33 additions
and
22 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -45,7 +49,14 @@ jobs: | |
# env: | ||
# QPDT_PUBLISH_USERNAME: ${{ secrets.QGIS_REPO_USERNAME }} | ||
# QPDT_PUBLISH_PASSWORD: ${{ secrets.QGIS_REPO_PASSWORD }} | ||
- uses: svenstaro/[email protected] | ||
# Kommentoidaan pois testien ajaksi | ||
# - uses: svenstaro/[email protected] | ||
# with: | ||
# file: dist/* | ||
# file_glob: true | ||
- run: | | ||
cp -r src/quality_result_gui_plugin/resources/i18n/*.qm dist/*.zip | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
file: dist/* | ||
file_glob: true | ||
name: new-zip | ||
path: dist/*.zip |