Skip to content

Commit fc618ad

Browse files
committed
chore(ci): disable dry run release for master
1 parent 206cec3 commit fc618ad

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,20 +62,21 @@ jobs:
6262
appInstallationType: repo
6363
appInstallationValue: ${{ github.repository }}
6464

65-
- name: Release
66-
if: github.event_name != 'pull_request' && contains('refs/heads/master', github.ref)
65+
- name: Dry run release
66+
if: github.event_name != 'pull_request'
6767
env:
6868
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
6969
run: |
7070
cp .release/* .
7171
yarn
7272
yarn release -d --repositoryUrl https://x-access-token:[email protected]/$GITHUB_REPOSITORY.git
73-
74-
- name: Dry run release
75-
if: github.event_name != 'pull_request'
73+
74+
- name: Release
75+
if: github.event_name != 'pull_request' && contains('refs/heads/master', github.ref)
7676
env:
7777
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
7878
run: |
7979
cp .release/* .
8080
yarn
81-
yarn release -d --repositoryUrl https://x-access-token:[email protected]/$GITHUB_REPOSITORY.git
81+
yarn release --repositoryUrl https://x-access-token:[email protected]/$GITHUB_REPOSITORY.git
82+

0 commit comments

Comments
 (0)