@@ -114,8 +114,6 @@ jobs:
114114 id: vars
115115 shell: bash
116116 run: |
117− unset IS_RELEASE ; if [[ $GITHUB_REF =~ ^refs/tags/v[0-9].* ]]; then IS_RELEASE='true' ; fi
118− echo ::set-output name=IS_RELEASE::${IS_RELEASE}
119117 # target-specific options
120118 # # * test only library unit tests and binary for arm-type targets
121119 unset CARGO_TEST_OPTIONS
@@ -376,9 +374,15 @@ jobs:
376374 with:
377375 name: ${{ steps.debian-package.outputs.DPKG_NAME }}
378376 path: ${{ steps.debian-package.outputs.DPKG_PATH }}
377+ - name: Check is release
378+ id: is-release
379+ shell: bash
380+ run: |
381+ unset IS_RELEASE ; if [[ $GITHUB_REF =~ ^refs/tags/v[0-9].* ]]; then IS_RELEASE='true' ; fi
382+ echo ::set-output name=IS_RELEASE::${IS_RELEASE}
379383 - name: Publish archives and packages
380384 uses: softprops/action-gh-release@v1
381− if: steps.vars.outputs.IS_RELEASE
385+ if: steps.is-release.outputs.IS_RELEASE
382386 with:
383387 files: |
384388 ${{ steps.package.outputs.PKG_PATH }}