@@ -219,30 +219,34 @@ jobs:
219219        id : upload-vscode-package 
220220        uses : actions/upload-artifact@v4 
221221        with :
222+           name : vscode-package 
222223          path : dist/robotcode*.vsix 
223224
224225      - name : Upload python package 
225226        id : upload-python-package 
226227        uses : actions/upload-artifact@v4 
227228        with :
229+           name : python-package 
228230          path : dist/*.tar.gz 
229231
230232      - name : Upload python wheel package 
231233        id : upload-wheel-package 
232234        uses : actions/upload-artifact@v4 
233235        with :
236+           name : wheel-package 
234237          path : dist/*.whl 
235238
236239      - name : Upload intellij plugin 
237240        id : upload-intellij-package 
238241        uses : actions/upload-artifact@v4 
239242        with :
243+           name : intellij-package 
240244          path : intellij-client/build/distributions/*.zip 
241245
242246  publish :
243247    runs-on : ubuntu-latest 
244248    needs : [code-quality, package] 
245-     if : success() && startsWith( github.ref, 'refs/tags/v')  
249+     if : success() 
246250    steps :
247251      - uses : actions/checkout@v4 
248252        with :
@@ -292,16 +296,19 @@ jobs:
292296          hatch -q run build:extract-release-notes > ./auto_relnotes.md 
293297
294298          echo "is_prelease=$(hatch -q run build:is-prerelease)" >> $GITHUB_OUTPUT 
299+           echo "release_version=$(hatch -q run build:get-release-version)" >> $GITHUB_OUTPUT 
295300
296301name : create github release 
297-         uses : ncipollo/release- action@v1 
302+         uses : softprops/ action-gh-release@v2 
298303        with :
299-           artifacts : " dist/*" 
304+           files : " dist/*" 
305+           name : " v${{ steps.get_release_informations.outputs.release_version }}" 
300306          prerelease : ${{ steps.get_release_informations.outputs.is_prelease }} 
301-           bodyFile : ./auto_relnotes.md 
307+           body_path : ./auto_relnotes.md 
302308          token : ${{ secrets.GITHUB_TOKEN }} 
303309
304310      - name : publish vsix and python packages 
311+         if : github.ref_type == 'tag' && startsWith( github.ref, 'refs/tags/v') 
305312        run : hatch -q run build:publish 
306313        env :
307314          VSCE_PAT : ${{ secrets.VSCE_PAT }} 
0 commit comments