Skip to content

Commit

Permalink
Try to fix ifs for release
Browse files Browse the repository at this point in the history
  • Loading branch information
vivaladav authored Oct 21, 2023
1 parent 500cab9 commit 2a54ce4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ jobs:
name: ${{ env.PLUGIN_NAME }}-${{ env.QT_CREATOR_VERSION }}-${{ matrix.artifact }}

- name: Create release
if: ${{ github.ref_type }} == 'tag'
if: contains(github.ref, 'tags')
id: create_release
uses: actions/create-release@v1
env:
Expand All @@ -357,7 +357,7 @@ jobs:
release_name: Release ${{ github.ref }}

- name: Upload Release Asset
if: ${{ github.ref_type }} == 'tag'
if: contains(github.ref, 'tags')
id: upload_release_asset
uses: actions/upload-release-asset@v1
env:
Expand Down

0 comments on commit 2a54ce4

Please sign in to comment.