From 6fe289a33e18d833f8fea56002fbda36d6fa0cf5 Mon Sep 17 00:00:00 2001 From: Pedro Duque Vieira Date: Mon, 29 Apr 2024 16:50:14 +0100 Subject: [PATCH] Update build.uml and fxthemes pom so that only 1 jar is built and everything is built on a Mac --- .github/workflows/build.yml | 34 +------------------------------ FXThemes/pom.xml | 40 ------------------------------------- 2 files changed, 1 insertion(+), 73 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8ec12bf..45b5a1d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -29,36 +29,4 @@ jobs: - uses: actions/upload-artifact@v4 with: name: FXThemes-mac-m1 - path: FXThemes/staging - - build-windows: - runs-on: windows-latest # windows - steps: - - uses: actions/checkout@v4 - - - name: Set up JDK 17 - uses: actions/setup-java@v4 - with: - java-version: '17' - distribution: 'zulu' - - server-id: ossrh - server-username: MAVEN_USERNAME - server-password: MAVEN_PASSWORD - gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }} - gpg-passphrase: MAVEN_GPG_PASSPHRASE - - - name: Build and Deploy with Maven - run: mvn --batch-mode --update-snapshots clean deploy -pl FXThemes - env: - MAVEN_USERNAME: ${{ secrets.SONATYPE_USERNAME }} - MAVEN_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} - MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} - - - run: mkdir FXThemes/staging && cp FXThemes/target/*.jar FXThemes/staging - - uses: actions/upload-artifact@v4 - with: - name: FXThemes-windows - path: FXThemes/staging - - + path: FXThemes/staging \ No newline at end of file diff --git a/FXThemes/pom.xml b/FXThemes/pom.xml index 88504c7..bea12b2 100644 --- a/FXThemes/pom.xml +++ b/FXThemes/pom.xml @@ -29,7 +29,6 @@ Debug - mac @@ -65,21 +64,6 @@ - - - - - - windows - - - windows - - - - win - - @@ -156,16 +140,6 @@ - - - org.apache.maven.plugins - maven-jar-plugin - 3.3.0 - - ${fxthemes.platform} - - - org.apache.maven.plugins @@ -181,20 +155,6 @@ - - - - org.apache.maven.plugins - maven-install-plugin - 2.5.2 - - - - - org.apache.maven.plugins - maven-deploy-plugin - 2.8.2 -