Skip to content

Commit

Permalink
chore(ci): disable dry run release for master
Browse files Browse the repository at this point in the history
  • Loading branch information
npalm committed Mar 9, 2021
1 parent 206cec3 commit fc618ad
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:[email protected]/$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:[email protected]/$GITHUB_REPOSITORY.git
yarn release --repositoryUrl https://x-access-token:[email protected]/$GITHUB_REPOSITORY.git

0 comments on commit fc618ad

Please sign in to comment.