Skip to content

Commit d82c72c

Browse files
committed
WIP workflow for Github releases
1 parent 6d198ae commit d82c72c

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/release.unused

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: release
2+
3+
on:
4+
push:
5+
tags: [ '*.*.*' ]
6+
7+
###
8+
9+
jobs:
10+
11+
release:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Checkout repository
16+
uses: actions/checkout@v3
17+
- name: Prepare Java
18+
uses: actions/setup-java@v3
19+
with:
20+
distribution: 'zulu'
21+
java-version: ${{ matrix.java-version }}
22+
- name: Maven dependencies cache
23+
uses: actions/cache@v3
24+
with:
25+
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
26+
path: ~/.m2
27+
restore-keys: ${{ runner.os }}-m2
28+
- name: Run release
29+
run: mvn clean install
30+
31+
# How to actually make the release??

0 commit comments

Comments
 (0)