Skip to content

Commit 7090288

Browse files
committed
Automate updating versions for next dev iteration
1 parent bcb4bad commit 7090288

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/snapshot_release.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: snapshot_release
22

33
on:
4+
repository_dispatch:
5+
types: [ trigger-snapshot-release ]
46
workflow_dispatch:
57

68
jobs:
@@ -28,6 +30,14 @@ jobs:
2830
MAVEN_CENTRAL_PASSWORD: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
2931
run: mvn -B -U --fail-at-end -DskipTests -DskipITs clean deploy
3032

33+
- name: Trigger SNAPSHOT release for the rest of modules in langchain4j repo
34+
if: ${{ github.event_name == 'repository_dispatch' }}
35+
uses: peter-evans/repository-dispatch@v4
36+
with:
37+
token: ${{ secrets.GH_RELEASE_AUTOMATION_PAT }}
38+
repository: langchain4j/langchain4j
39+
event-type: trigger-snapshot-release
40+
3141
compliance:
3242
runs-on: ubuntu-latest
3343
steps:

0 commit comments

Comments
 (0)