ci: if branches fixed in a GitHub Actions

This commit is contained in:
Mateusz Pusz
2020-12-23 21:37:04 +01:00
parent c8bbaec67a
commit 139fd0b718

View File

@@ -20,7 +20,7 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE. # SOFTWARE.
name: Windows CI name: New CI
on: on:
push: push:
@@ -63,6 +63,7 @@ jobs:
${{ runner.os }}-build- ${{ runner.os }}-build-
${{ runner.os }}- ${{ runner.os }}-
- name: Install Ninja - name: Install Ninja
shell: bash
run: | run: |
if [ $RUNNER_OS == 'Linux' ]; then if [ $RUNNER_OS == 'Linux' ]; then
apt install -y ninja-build apt install -y ninja-build
@@ -80,6 +81,7 @@ jobs:
run: | run: |
pip install -U conan_package_tools pip install -U conan_package_tools
- name: Set Conan default profile - name: Set Conan default profile
shell: bash
run: | run: |
conan profile new --detect default conan profile new --detect default
if [ ${{ matrix.config.compiler.type }} == 'GCC' ]; then if [ ${{ matrix.config.compiler.type }} == 'GCC' ]; then