Skip to content

Commit 2453d5d

Browse files
committed
Update maven.yml file
Update maven.yml Update maven.yml Update maven.yml Update maven.yml Update maven.yml Update maven.yml
1 parent 7d8dbfb commit 2453d5d

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/maven.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: Java CI with Maven
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
branches: ['master', 'develop']
46

57
jobs:
68
build:
@@ -20,6 +22,11 @@ jobs:
2022
- name: Build with Maven - From Pom
2123
run: mvn -B package --file pom.xml
2224

25+
- name: Upload build artifacts
26+
uses: actions/[email protected]
27+
with:
28+
name: my-artifacts
29+
path: target/*.jar
2330

2431
# Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive
2532
- name: Update dependency graph

0 commit comments

Comments
 (0)