Skip to content

Commit 61f08de

Browse files
committed
Rename workflow that publishes the client
1 parent 3f3e4a4 commit 61f08de

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/dp-inntekt-grpc-build.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
1-
name: Build and deploy dp-inntekt-grpc
1+
name: Build and publish gRPC client
22

33
on:
44
push:
55
paths:
66
- 'dp-inntekt-grpc/**'
77

8-
98
jobs:
10-
119
build:
1210
name: Build
1311
runs-on: ubuntu-latest
1412
steps:
1513
- name: Checkout code
1614
uses: actions/checkout@v1
17-
- name: Set up Java 12
15+
16+
- name: Set up Java
1817
uses: actions/setup-java@v1
1918
with:
2019
java-version: '13.x'
20+
2121
- name: Cache gradle dependencies
2222
uses: actions/cache@v1
2323
with:
2424
path: ~/.gradle/caches
2525
key: ${{ runner.os }}-gradle-${{ hashFiles('dp-inntekt-grpc/build.gradle.kts') }}-${{ hashFiles('buildSrc/src/main/kotlin/Constants.kt') }}
2626
restore-keys: |
2727
${{ runner.os }}-gradle-
28+
2829
- name: Build with Gradle
2930
run: ./gradlew :dp-inntekt-grpc:build
3031

31-
3232
release:
3333
name: Create Release
3434
needs: build
@@ -37,10 +37,12 @@ jobs:
3737
steps:
3838
- name: Checkout code
3939
uses: actions/checkout@v1
40+
4041
- name: Set release tag
4142
run: |
4243
export TAG_NAME="$(TZ="Europe/Oslo" date +%Y.%m.%d-%H.%M).$(echo $GITHUB_SHA | cut -c 1-12)"
4344
echo "::set-env name=RELEASE_TAG::$TAG_NAME"
45+
4446
- name: Set changelog
4547
# (Escape newlines see https://github.com/actions/create-release/issues/25)
4648
run: |
@@ -49,6 +51,7 @@ jobs:
4951
text="${text//$'\n'/%0A}"
5052
text="${text//$'\r'/%0D}"
5153
echo "::set-env name=CHANGELOG::$text"
54+
5255
- name: Create Release
5356
id: create_release
5457
uses: actions/create-release@latest

0 commit comments

Comments
 (0)