-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (39 loc) · 925 Bytes
/
pr.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: CI
on:
push:
branches:
- main
- staging
- release/*
pull_request:
branches:
- main
- staging
- release/*
workflow_dispatch:
inputs:
nussknacker_version:
description: "Nussknacker version"
required: false
type: string
env:
NUSSKNACKER_VERSION: ${{ inputs.nussknacker_version }}
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Cancel previous runs
uses: styfle/[email protected]
with:
access_token: ${{ secrets.GITHUB_TOKEN }}
- name: Update root CA
run: sudo update-ca-certificates -f
- uses: actions/checkout@v2
- uses: olafurpg/setup-scala@v10
with:
java-version: "[email protected]"
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Execute Gradle build
run: ./gradlew build