Skip to content

Commit

Permalink
Eng 17441/trigger publishing automation (#32)
Browse files Browse the repository at this point in the history
* Added version

* Adding repository dispatch trigger

---------

Co-authored-by: Nicholas Chiu <[email protected]>
  • Loading branch information
nicholas-chiu and Nicholas Chiu authored Oct 30, 2024
1 parent 11b9435 commit 05e21f3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
-g java
-p modelPackage=com.lilt.client.model
-p apiPackage=com.lilt.client.api
-p artifactVersion=${{ steps.latest.outputs.tag }}
-p packageVersion=${{ github.event.client_payload.version }}
--package-name lilt
--git-host github.com
--git-user-id lilt
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ env:
MAVEN_CENTRAL_TOKEN: ${{ secrets.NEXUS_PASSWORD }}

on:
repository_dispatch:
types: [API-DocumentationV3-Publish]
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+*'
Expand Down

0 comments on commit 05e21f3

Please sign in to comment.