Skip to content

Commit fdfce03

Browse files
authored
Create maven-build-exe.yml
1 parent b037c65 commit fdfce03

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/maven-build-exe.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
3+
4+
name: Maven Build .exe
5+
6+
on:
7+
push:
8+
branches: [ master ]
9+
pull_request:
10+
branches: [ master ]
11+
12+
jobs:
13+
build:
14+
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- uses: actions/checkout@v2
19+
- name: Set up JDK 11
20+
uses: actions/setup-java@v2
21+
with:
22+
java-version: '11'
23+
distribution: 'adopt'
24+
cache: maven
25+
- name: Build with Maven
26+
run: mvn -B -Pexe package --file pom.xml
27+
- uses: actions/upload-artifact@v2
28+
with:
29+
name: Project16x16.exe
30+
path: target/*.exe

0 commit comments

Comments
 (0)