-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Copied workflow from another working version
- Loading branch information
Showing
1 changed file
with
9 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,19 +14,22 @@ jobs: | |
|
||
steps: | ||
|
||
# Set up Maven and Java version and checkout repository | ||
- name: Set up Maven | ||
uses: s4u/setup-[email protected] | ||
# Set up the JDK and Maven settings.xml | ||
- name: Set up JDK ${{ env.jdk-version }} | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: 'zulu' | ||
java-version: ${{ env.jdk-version }} | ||
server-id: webfx-sonatype-deploy | ||
server-username: SONATYPE_USERNAME | ||
server-password: SONATYPE_PASSWORD | ||
|
||
# Build all modules and deploy their SNAPSHOT artifacts to sonatype repository | ||
- name: Deploy this repository | ||
# Checkout this repository | ||
- name: Checkout this repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Deploy j2cl-maven-plugin-webfx | ||
run: mvn -B deploy | ||
env: | ||
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} | ||
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} | ||
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} |