From 825dd9caad3b49ddf67192a12386a91d1b4ccd51 Mon Sep 17 00:00:00 2001 From: Romain GERARD Date: Sat, 24 Oct 2020 18:57:36 +0200 Subject: [PATCH] Create release in same job --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ef0f42c..3fd791b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,7 +19,7 @@ jobs: - name: Create Release id: create_release - if: startsWith(github.ref, 'v') + if: contains(github.ref, 'v') uses: actions/create-release@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -31,7 +31,7 @@ jobs: - name: Upload Release Asset id: upload-release-asset - if: startsWith(github.ref, 'v') + if: contains(github.ref, 'v') uses: actions/upload-release-asset@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}