workflows: proper triggers

This commit is contained in:
Dawid Dziurla 2020-11-08 21:12:55 +01:00 committed by GitHub
parent e6341a655f
commit 6481a44bf8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,7 +3,8 @@ name: Test Action
on: on:
push: push:
branches: branches:
- '*' - master
pull_request:
jobs: jobs:
test: test:
@ -33,8 +34,7 @@ jobs:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Clone repo - name: Clone repo
run: | run: git clone --depth=1 ${{matrix.repo}} -b ${{matrix.ref}} ${{matrix.package}}
git clone --depth=1 ${{matrix.repo}} -b ${{matrix.ref}} ${{matrix.package}}
- name: Test run - name: Test run
uses: ./ uses: ./
with: with: