Skip to content

Commit

Permalink
Copied workflow from another working version
Browse files Browse the repository at this point in the history
  • Loading branch information
salmonb committed Mar 19, 2024
1 parent ab10a91 commit e2db76c
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit e2db76c

Please sign in to comment.