Skip to content

Commit 0c9f44f

Browse files
mbwhitejt-nti
authored andcommitted
Basic github actions workflow
Signed-off-by: Matthew B White <[email protected]>
1 parent d6b34e8 commit 0c9f44f

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/build.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Copyright the Hyperledger Fabric contributors. All rights reserved.
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
5+
name: Fabric Chaincode and Smart Contract - Java
6+
on:
7+
push:
8+
branches: ["**"]
9+
pull_request:
10+
branches: ["**"]
11+
workflow_dispatch:
12+
13+
jobs:
14+
build:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v3
18+
- uses: actions/setup-java@v3
19+
with:
20+
distribution: 'temurin'
21+
java-version: '11'
22+
cache: 'gradle'
23+
- run: ./gradlew build --no-daemon

0 commit comments

Comments
 (0)