mirror of
https://github.com/Sped0n/bridget.git
synced 2026-04-14 10:09:31 -07:00
fix(build.yml): remove unnecessary condition for the 'needs.filter.outputs.any_changed' check in the 'Push artifacts' step
This commit is contained in:
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@@ -34,8 +34,7 @@ jobs:
|
||||
needs: [filter]
|
||||
if: |
|
||||
github.ref == 'refs/heads/main' &&
|
||||
github.event.repository.fork == false &&
|
||||
needs.filter.outputs.any_changed == 'true'
|
||||
github.event.repository.fork == false
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
@@ -72,11 +71,10 @@ jobs:
|
||||
run: pnpm install
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
pnpm run build
|
||||
run: pnpm run build
|
||||
|
||||
- name: Push artifacts
|
||||
if: ${{ github.event.pull_request.merged == true }}
|
||||
if: ${{ github.event.pull_request.merged == true && needs.filter.outputs.any_changed == 'true' }}
|
||||
run: |
|
||||
git config --global user.email "noreply@github.com"
|
||||
git config --global user.name "CI"
|
||||
|
||||
Reference in New Issue
Block a user