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:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/cicd.yml21
1 files changed, 3 insertions, 18 deletions
diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml
index 50e38ac319..dbc247c94c 100644
--- a/.github/workflows/cicd.yml
+++ b/.github/workflows/cicd.yml
@@ -1,30 +1,15 @@
---
-name: CI/CD for push
-on: [push]
+name: CI/CD
+on: [push, pull_request]
jobs:
build:
name: Build and test
runs-on: ubuntu-latest
container: ultimaker/cura-build-environment
steps:
- - name: Checkout code
+ - name: Checkout master
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