Skip to content

Commit 2adf76c

Browse files
committed
Merge branch 'feature/submodule-core-plugin-ex' of https://github.com/Sassine/sqlschema2java into feature/submodule-core-plugin-ex
2 parents 291e5c4 + 9dee9c3 commit 2adf76c

1 file changed

Lines changed: 24 additions & 3 deletions

File tree

.github/workflows/main.yml

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on:
33
release:
44
types: [created]
55
jobs:
6-
publish:
6+
publish-core:
77
runs-on: ubuntu-latest
88
permissions:
99
contents: read
@@ -14,7 +14,28 @@ jobs:
1414
with:
1515
java-version: '11'
1616
distribution: 'adopt'
17-
- name: Publish package
18-
run: mvn --batch-mode deploy
17+
- name: Publish package SQLSchema2Java Core
18+
run: |
19+
cd sqlschema2java-core
20+
mvn --batch-mode deploy
21+
env:
22+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23+
24+
publish-maven-plugin:
25+
runs-on: ubuntu-latest
26+
permissions:
27+
contents: read
28+
packages: write
29+
needs: publish-core
30+
steps:
31+
- uses: actions/checkout@v3
32+
- uses: actions/setup-java@v3
33+
with:
34+
java-version: '11'
35+
distribution: 'adopt'
36+
- name: Publish package SQLSchema2Java Core
37+
run: |
38+
cd sqlschema2java-core
39+
mvn --batch-mode deploy
1940
env:
2041
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)