From 392e065a7a3f867260c8660577fdff971dc6383e Mon Sep 17 00:00:00 2001 From: Denis Rouzaud Date: Wed, 17 Apr 2024 15:48:01 +0200 Subject: [PATCH] fix release --- .github/workflows/plugin-package.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/plugin-package.yml b/.github/workflows/plugin-package.yml index e28b876..f72bf80 100644 --- a/.github/workflows/plugin-package.yml +++ b/.github/workflows/plugin-package.yml @@ -58,6 +58,13 @@ jobs: --asset-path pg_service_parser/libs \ --transifex-token "${{ secrets.TX_TOKEN }}" + - uses: actions/upload-artifact@v4 + if: ${{ ! startsWith(github.ref, 'refs/tags/') }} + with: + name: pg_service_parser_dev + path: pg_service_parser.0.0.0.zip + if-no-files-found: error + - name: Release if: startsWith(github.ref, 'refs/tags/') run: | @@ -70,8 +77,4 @@ jobs: --osgeo-password ${{ secrets.OSGEO_PLUGIN_PASSWORD }} \ --transifex-token "${{ secrets.TX_TOKEN }}" - - uses: actions/upload-artifact@v4 - with: - name: pg_service_parser_dev - path: pg_service_parser.0.0.0.zip - if-no-files-found: error +