Skip to content

Commit

Permalink
better workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Apr 17, 2024
1 parent d1721c6 commit 615dc23
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/plugin-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,14 @@ jobs:
run: pip install qgis-plugin-ci>=2.8.6

- name: 🌍 Push translations
if: ${{ github.event_name == 'push' }}
if: ${{ github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/') }}
run: qgis-plugin-ci push-translation ${{ secrets.TX_TOKEN }}

- name: Install pgservice parser
run: pip install -r requirements.txt -t pg_service_parser/libs

- name: Package
if: ${{ ! startsWith(github.ref, 'refs/tags/') }}
run: |
VERSION=0.0.0
qgis-plugin-ci package ${VERSION} \
Expand All @@ -60,8 +61,8 @@ jobs:
--allow-uncommitted-changes \
--asset-path pg_service_parser/libs \
--github-token ${{ secrets.GITHUB_TOKEN }} \
--osgeo-username ${{ secrets.OSGEO_USER }} \
--osgeo-password ${{ secrets.OSGEO_PASSWORD }} \
--osgeo-username ${{ secrets.OSGEO_PLUGIN_USERNAME }} \
--osgeo-password ${{ secrets.OSGEO_PLUGIN_PASSWORD }} \
--transifex-token "${{ secrets.TX_TOKEN }}"
- uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 615dc23

Please sign in to comment.