Skip to content
This repository was archived by the owner on Jan 17, 2026. It is now read-only.

Commit 55f0fc0

Browse files
added build workflow
1 parent f5eee68 commit 55f0fc0

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

.github/workflows/build.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
2+
# Automatically build the project and run any configured tests for every push
3+
# and submitted pull request. This can help catch issues that only occur on
4+
# certain platforms or Java versions, and provides a first line of defence
5+
# against bad commits.
6+
7+
name: ViaLoadingBase build
8+
on: [pull_request, push, workflow_dispatch]
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-22.04
13+
steps:
14+
- uses: actions/checkout@v3
15+
- uses: gradle/wrapper-validation-action@v1
16+
- uses: actions/setup-java@v3
17+
with:
18+
distribution: 'temurin'
19+
java-version: 17
20+
- uses: actions/cache@v3
21+
with:
22+
path: |
23+
~/.gradle/caches
24+
~/.gradle/wrapper
25+
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
26+
restore-keys: |
27+
${{ runner.os }}-gradle-
28+
- name: build
29+
run: ./gradlew build
30+
- uses: actions/upload-artifact@v3
31+
with:
32+
name: Artifacts
33+
path: build/libs/

gradlew

100644100755
File mode changed.

0 commit comments

Comments
 (0)