Skip to content

Commit f6f8023

Browse files
committed
Kick publish after ci
- Attempt to fire ci-publish after ci finish ok - Relates #328
1 parent d0dd446 commit f6f8023

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

.github/workflows/ci-publish.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
name: CI Publish
22

33
on:
4-
workflow_dispatch:
4+
workflow_call:
5+
secrets:
6+
jfArtifactorySpring:
7+
required: true
58

69
jobs:
710
publish:
@@ -20,7 +23,7 @@ jobs:
2023
with:
2124
version: 1.46.4
2225
env:
23-
JF_ARTIFACTORY_SPRING: ${{ secrets.JF_ARTIFACTORY_SPRING }}
26+
JF_ARTIFACTORY_SPRING: ${{ secrets.jfArtifactorySpring }}
2427
- name: Configure JFrog Cli
2528
run: |
2629
jfrog rt mvnc \

.github/workflows/ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,10 @@ jobs:
2222
java-version: ${{ matrix.java }}
2323
cache: maven
2424
- run: ./mvnw -B package
25+
publish:
26+
needs: [build]
27+
runs-on: ubuntu-latest
28+
name: Call Publish Snapshot
29+
uses: spring-projects/spring-shell/.github/workflows/ci-publish@main
30+
secrets:
31+
jfArtifactorySpring: ${{ secrets.JF_ARTIFACTORY_SPRING }}

0 commit comments

Comments
 (0)