From e2db76c912475ae262943c2a1b7791979505e093 Mon Sep 17 00:00:00 2001 From: Bruno Salmon Date: Tue, 19 Mar 2024 16:09:54 +0000 Subject: [PATCH] Copied workflow from another working version --- .github/workflows/deploy.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b8a6d4d..1819d67 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -14,9 +14,9 @@ jobs: steps: - # Set up Maven and Java version and checkout repository - - name: Set up Maven - uses: s4u/setup-maven-action@v1.12.0 + # 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 }} @@ -24,9 +24,12 @@ jobs: 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 }} \ No newline at end of file + SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}