From af26e19b83d48724c90d4db43efb7ecf1ec4d83f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?David=20Hrdli=C4=8Dka?= <dhrdlicka@users.noreply.github.com>
Date: Sun, 28 Jun 2020 17:55:20 +0200
Subject: [PATCH] workflows: disable cache, build all branches

---
 .github/workflows/c-cpp.yml | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml
index a01060c93..e9c8d3013 100644
--- a/.github/workflows/c-cpp.yml
+++ b/.github/workflows/c-cpp.yml
@@ -1,10 +1,16 @@
 name: C/C++ CI
 
 on:
+
   push:
-    branches: [ master ]
+    paths:
+    - src/**
+    - .github/workflows/**
+
   pull_request:
-    branches: [ master ]
+    paths:
+    - src/**
+    - .github/workflows/**
 
 jobs:
   build:
@@ -24,7 +30,6 @@ jobs:
     - uses: msys2/setup-msys2@v1
       with:
         update: true
-        cache: true
         msystem: MINGW32
         install: 'make mingw-w64-i686-toolchain mingw-w64-i686-openal mingw-w64-i686-freetype mingw-w64-i686-SDL2 mingw-w64-i686-zlib mingw-w64-i686-libpng mingw-w64-i686-libvncserver'
     - uses: actions/checkout@v2