Skip to content

Commit f2e6ae7

Browse files
authored
Create create-release.yml
1 parent 27bf8a7 commit f2e6ae7

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Create Release
2+
3+
on:
4+
push:
5+
tags:
6+
- '*'
7+
8+
jobs:
9+
test:
10+
runs-on: ubuntu-latest
11+
strategy:
12+
matrix:
13+
JAVA_VERSION: ["11"]
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- name: Setup Java ${{ matrix.JAVA_VERSION }}
18+
uses: actions/setup-java@v4
19+
with:
20+
distribution: "temurin"
21+
java-version: "${{ matrix.JAVA_VERSION }}"
22+
23+
- name: Build package
24+
run: mvn -B package --file pom.xml
25+
26+
- uses: ncipollo/release-action@v1
27+
with:
28+
allowUpdates: true
29+
artifacts: "target/imputationserver-utils.tar.gz"
30+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)