feat(actions): add artifact upload

This commit is contained in:
ColdDev 2022-10-24 21:24:06 +01:00
parent 383c8f8727
commit 5561e661ee

View File

@ -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:
@ -11,9 +11,7 @@ on:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
@ -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