File tree Expand file tree Collapse file tree 6 files changed +55
-1
lines changed Expand file tree Collapse file tree 6 files changed +55
-1
lines changed Original file line number Diff line number Diff line change 24
24
key : ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle.kts') }}
25
25
restore-keys : |
26
26
${{ runner.os }}-gradle-
27
+
28
+ - name : Setup Gradle wrapper cache
29
+ uses : actions/cache@v1
30
+ with :
31
+ path : ~/.gradle/wrapper
32
+ key : ${{ runner.os }}-gradle-wrapper-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
33
+ restore-keys : |
34
+ ${{ runner.os }}-gradle-wrapper-
35
+
27
36
- name : Build with Gradle
28
37
run : ./gradlew build
29
38
Original file line number Diff line number Diff line change @@ -28,12 +28,22 @@ jobs:
28
28
key : ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle.kts') }}
29
29
restore-keys : |
30
30
${{ runner.os }}-gradle-
31
+
32
+ - name : Setup Gradle wrapper cache
33
+ uses : actions/cache@v1
34
+ with :
35
+ path : ~/.gradle/wrapper
36
+ key : ${{ runner.os }}-gradle-wrapper-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
37
+ restore-keys : |
38
+ ${{ runner.os }}-gradle-wrapper-
39
+
31
40
- name : Import gpg key
32
41
env :
33
42
GPG_KEY_BASE64 : ${{ secrets.GPG_KEY_BASE64 }}
34
43
GPG_KEY_NAME : ${{ secrets.GPG_KEY_NAME }}
35
44
GPG_PASSPHRASE : ${{ secrets.GPG_PASSPHRASE }}
36
45
run : echo $GPG_KEY_BASE64 | base64 --decode | gpg --yes --batch --import
46
+
37
47
- name : Publish artifact
38
48
env :
39
49
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change
1
+ name : Test pull requests
2
+
3
+ on : [pull_request]
4
+
5
+ jobs :
6
+ build :
7
+ runs-on : ubuntu-latest
8
+ steps :
9
+ - name : Checkout latest code
10
+ uses : actions/checkout@v2
11
+
12
+ - name : Set up JDK 11
13
+ uses : actions/setup-java@v1
14
+ with :
15
+ java-version : 11
16
+
17
+ - name : Setup build cache
18
+ uses : actions/cache@v1
19
+ with :
20
+ path : ~/.gradle/caches
21
+ key : ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle.kts') }}
22
+ restore-keys : |
23
+ ${{ runner.os }}-gradle-
24
+
25
+ - name : Setup Gradle wrapper cache
26
+ uses : actions/cache@v1
27
+ with :
28
+ path : ~/.gradle/wrapper
29
+ key : ${{ runner.os }}-gradle-wrapper-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
30
+ restore-keys : |
31
+ ${{ runner.os }}-gradle-wrapper-
32
+
33
+ - name : Build with Gradle
34
+ run : ./gradlew clean build
Original file line number Diff line number Diff line change
1
+ * @ navikt/plattformsikkerhet
File renamed without changes.
Original file line number Diff line number Diff line change 1
1
# Sun Jan 26 20:25:21 CET 2020
2
- distributionUrl =https\://services.gradle.org/distributions/gradle-6.1.1 -all.zip
2
+ distributionUrl =https\://services.gradle.org/distributions/gradle-6.2 -all.zip
3
3
distributionBase =GRADLE_USER_HOME
4
4
distributionPath =wrapper/dists
5
5
zipStorePath =wrapper/dists
You can’t perform that action at this time.
0 commit comments