From 71cdec999fc5940c3fa54fad5fca571f7863db8b Mon Sep 17 00:00:00 2001 From: Alessandro Gario <5714290+alessandrogario@users.noreply.github.com> Date: Tue, 23 Feb 2021 05:13:27 +0100 Subject: [PATCH] CI: Add tag handler (#492) --- .github/workflows/vcpkg_ci.yml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/vcpkg_ci.yml b/.github/workflows/vcpkg_ci.yml index 628eeedd8..ff63a4354 100644 --- a/.github/workflows/vcpkg_ci.yml +++ b/.github/workflows/vcpkg_ci.yml @@ -1,12 +1,20 @@ name: VCPKG Continuous Integration + on: + # Run this workflow once every 6 hours against the master branch + schedule: + - cron: "0 */6 * * *" + push: branches: - - master + - 'master' + + tags: + - '*' + pull_request: - schedule: - # run CI every day even if no PRs/merges occur - - cron: '0 6 * * *' + branches: + - '*' jobs: build_linux: