-
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 2c7569f
Showing
1 changed file
with
11 additions
and
3 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 |
---|---|---|
|
@@ -39,13 +39,21 @@ jobs: | |
pip install . --no-deps | ||
- run: | | ||
qgis-plugin-dev-tools build | ||
# Copy .qm translation files to the dist folder | ||
- run: | | ||
cp -r src/quality_result_gui_plugin/resources/i18n dist/ | ||
# Zip the dist folder (including .qm files) | ||
- run: | | ||
cd dist | ||
zip -r tattaraa.zip * | ||
# no qgis repo publish yet for the dummy plugin gui | ||
# - run: | | ||
# qgis-plugin-dev-tools publish dist/*.zip | ||
# env: | ||
# QPDT_PUBLISH_USERNAME: ${{ secrets.QGIS_REPO_USERNAME }} | ||
# QPDT_PUBLISH_PASSWORD: ${{ secrets.QGIS_REPO_PASSWORD }} | ||
- uses: svenstaro/[email protected] | ||
# Upload the zip file | ||
- uses: actions/upload-artifact@v2 | ||
with: | ||
file: dist/* | ||
file_glob: true | ||
name: tattaraa | ||
path: dist/tattaraa.zip |