WIP: Fix fetching Uranium

This commit is contained in:
Lipu Fei 2019-12-17 11:49:24 +01:00
parent 88196fa62b
commit 208ab6421f
2 changed files with 22 additions and 4 deletions

View file

@ -1,6 +1,6 @@
---
name: CI/CD
on: [push, pull_request]
name: CI/CD for push
on: push
jobs:
build:
name: Build and test
@ -8,6 +8,23 @@ jobs:
container: ultimaker/cura-build-environment
steps:
- name: Checkout code
uses: actions/checkout@v1.2.0
uses: actions/checkout@v1
- name: Build and test
env:
GIT_REF_NAME: github.ref
run: docker/build.sh
name: CI/CD for pull_request
on: pull_request
jobs:
build:
name: Build and test
runs-on: ubuntu-latest
container: ultimaker/cura-build-environment
steps:
- name: Checkout code
uses: actions/checkout@v1
- name: Build and test
env:
GIT_REF_NAME: github.base_ref
run: docker/build.sh