Skip to content

Commit 07389d9

Browse files
GitHub release action workflow
1 parent e3fa474 commit 07389d9

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/release.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Release Build
2+
on: [release]
3+
4+
jobs:
5+
build-upload:
6+
runs-on: ubuntu-latest
7+
8+
steps:
9+
- uses: actions/checkout@v3
10+
- name: Set up JDK 8
11+
uses: actions/setup-java@v3
12+
with:
13+
java-version: '8'
14+
distribution: 'adopt'
15+
- name: Build with project's Gradle wrapper
16+
run: ./gradlew clean build
17+
- name: Upload built jar to release
18+
uses: svenstaro/upload-release-action@v2
19+
with:
20+
file: build/libs/java-main-echo-*.jar
21+
file_glob: true
22+

0 commit comments

Comments
 (0)