Skip to content

Commit

Permalink
Remove duplicate jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
layerssss committed Jul 20, 2021
1 parent 6875d6d commit 34c4c2a
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,21 +32,14 @@ jobs:
- name: Build (pr)
if: github.event_name == 'pull_request'
run: yarn run dist --publish=never
- name: Build (push)
if: github.event_name == 'push'
- name: Build (master)
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
run: yarn run build
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CSC_LINK: ${{ secrets.MAC_CERT_P12_BASE64 }}
CSC_KEY_PASSWORD: ${{ secrets.MAC_CERT_P12_PASSWORD }}
- name: Build (push)
if: github.event_name == 'push'
run: yarn run build
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CSC_LINK: ${{ secrets.MAC_CERT_P12_BASE64 }}
CSC_KEY_PASSWORD: ${{ secrets.MAC_CERT_P12_PASSWORD }}
- name: Build (release)
- name: Build (tag)
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
run: yarn run build --publish always
env:
Expand Down

0 comments on commit 34c4c2a

Please sign in to comment.