Kick publish after ci

- Attempt to fire ci-publish after ci finish ok
- Relates #328
This commit is contained in:
Janne Valkealahti
2021-12-17 17:38:11 +00:00
parent d0dd446744
commit f6f80237b5
2 changed files with 12 additions and 2 deletions

View File

@@ -1,7 +1,10 @@
name: CI Publish
on:
workflow_dispatch:
workflow_call:
secrets:
jfArtifactorySpring:
required: true
jobs:
publish:
@@ -20,7 +23,7 @@ jobs:
with:
version: 1.46.4
env:
JF_ARTIFACTORY_SPRING: ${{ secrets.JF_ARTIFACTORY_SPRING }}
JF_ARTIFACTORY_SPRING: ${{ secrets.jfArtifactorySpring }}
- name: Configure JFrog Cli
run: |
jfrog rt mvnc \

View File

@@ -22,3 +22,10 @@ jobs:
java-version: ${{ matrix.java }}
cache: maven
- run: ./mvnw -B package
publish:
needs: [build]
runs-on: ubuntu-latest
name: Call Publish Snapshot
uses: spring-projects/spring-shell/.github/workflows/ci-publish@main
secrets:
jfArtifactorySpring: ${{ secrets.JF_ARTIFACTORY_SPRING }}