mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-18 05:01:07 +00:00
Add composite action mvn_jar_deploy
This commit is contained in:
22
.github/actions/mvn_jar_deploy/action.yml
vendored
Normal file
22
.github/actions/mvn_jar_deploy/action.yml
vendored
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
name: mvn_jar_deploy
|
||||||
|
runs:
|
||||||
|
using: composite
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4.1.0
|
||||||
|
- name: Adjust pom version
|
||||||
|
run: ".circleci/adjust-pom-version.sh"
|
||||||
|
shell: bash
|
||||||
|
- name: restore_cache
|
||||||
|
uses: actions/cache@v3.3.2
|
||||||
|
with:
|
||||||
|
key: v1-dependencies-{{ checksum "pom.xml" }}
|
||||||
|
path: UPDATE_ME
|
||||||
|
restore-keys: v1-dependencies-{{ checksum "pom.xml" }}
|
||||||
|
- name: Run Maven Jar Deploy
|
||||||
|
run: mvn -s .circleci/mvn-settings.xml -T4 flatten:flatten jar:jar deploy:deploy
|
||||||
|
shell: bash
|
||||||
|
- name: save_cache
|
||||||
|
uses: actions/cache@v3.3.2
|
||||||
|
with:
|
||||||
|
path: "~/.m2"
|
||||||
|
key: v1-dependencies-{{ checksum "pom.xml" }}
|
Reference in New Issue
Block a user