From fc618add6d0bc491e6e5b28a4658c674c89f3c20 Mon Sep 17 00:00:00 2001 From: Niek Palm Date: Tue, 9 Mar 2021 10:29:06 +0100 Subject: [PATCH] chore(ci): disable dry run release for master --- .github/workflows/release.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3700b72692..bb74b290de 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -62,20 +62,21 @@ jobs: appInstallationType: repo appInstallationValue: ${{ github.repository }} - - name: Release - if: github.event_name != 'pull_request' && contains('refs/heads/master', github.ref) + - name: Dry run release + if: github.event_name != 'pull_request' env: GITHUB_TOKEN: ${{ steps.app-token.outputs.token }} run: | cp .release/* . yarn yarn release -d --repositoryUrl https://x-access-token:$GITHUB_TOKEN@github.com/$GITHUB_REPOSITORY.git - - - name: Dry run release - if: github.event_name != 'pull_request' + + - name: Release + if: github.event_name != 'pull_request' && contains('refs/heads/master', github.ref) env: GITHUB_TOKEN: ${{ steps.app-token.outputs.token }} run: | cp .release/* . yarn - yarn release -d --repositoryUrl https://x-access-token:$GITHUB_TOKEN@github.com/$GITHUB_REPOSITORY.git + yarn release --repositoryUrl https://x-access-token:$GITHUB_TOKEN@github.com/$GITHUB_REPOSITORY.git +