From e6756888e7d099f861a1fa207520f12531bbc161 Mon Sep 17 00:00:00 2001 From: Daniel Carrillo Date: Sat, 26 Dec 2020 19:00:42 +0100 Subject: [PATCH] Ensure tests run for every push --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 499dd0a..58918f4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,7 +11,6 @@ on: jobs: tests: runs-on: ${{ matrix.os }} - if: github.event_name == 'pull_request' strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] @@ -39,6 +38,7 @@ jobs: build_publish: runs-on: ubuntu-latest + needs: tests if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') steps: - uses: actions/checkout@v2