Skip to content

Commit

Permalink
checkout before using dorny filters
Browse files Browse the repository at this point in the history
  • Loading branch information
slorber committed Dec 11, 2020
1 parent 358ef86 commit d582382
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/canary-releases.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Canary releases

on:
push:
pull_request:
branches:
- master

Expand All @@ -11,6 +11,7 @@ jobs:
outputs:
packagesHaveChanged: ${{ steps.filter.outputs.packagesHaveChanged }}
steps:
- uses: actions/checkout@v2
- uses: dorny/paths-filter@v2
id: filter
with:
Expand All @@ -21,7 +22,6 @@ jobs:
publish-canary:
needs: checkPackagesHaveChanged
if: ${{ needs.checkPackagesHaveChanged.outputs.packagesHaveChanged == 'true' }}
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x]
Expand Down

0 comments on commit d582382

Please sign in to comment.