Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLipu Fei <lipu.fei815@gmail.com>2019-12-17 13:49:24 +0300
committerLipu Fei <lipu.fei815@gmail.com>2019-12-17 13:52:32 +0300
commit208ab6421f76fdb5f98d5e3b256b9ead4ab92fbf (patch)
tree36956020aa2ab4b6ea0b2bfcbe556b50b1db6e50 /.github
parent88196fa62bae3ebec563d6df625edb84bbb334dc (diff)
WIP: Fix fetching Uranium
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/cicd.yml23
1 files changed, 20 insertions, 3 deletions
diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml
index 54747e55af..7029475573 100644
--- a/.github/workflows/cicd.yml
+++ b/.github/workflows/cicd.yml
@@ -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