Skip to content

Commit

Permalink
feat(actions): add artifact upload
Browse files Browse the repository at this point in the history
  • Loading branch information
ColdDev committed Oct 24, 2022
1 parent 383c8f8 commit 5561e66
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven

name: Java CI with Maven
name: Build

on:
push:
Expand All @@ -11,9 +11,7 @@ on:

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
Expand All @@ -24,4 +22,8 @@ jobs:
cache: maven
- name: Build with Maven
run: mvn -B package --file pom.xml

- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: Package
path: staging

0 comments on commit 5561e66

Please sign in to comment.