mirror of
https://github.com/darverdevs/Uranium.git
synced 2024-11-21 06:56:04 -08:00
feat(actions): add artifact upload
This commit is contained in:
parent
383c8f8727
commit
5561e661ee
10
.github/workflows/maven.yml
vendored
10
.github/workflows/maven.yml
vendored
|
@ -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
|
Loading…
Reference in New Issue
Block a user