diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5d5ae4a..659ed47 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,7 +20,7 @@ jobs: release: needs: test runs-on: ubuntu-latest - if: ${{ github.branch == 'main' }} + if: github.ref == 'refs/heads/$default-branch' steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v1