From 3f455b2cead93e5eab88d99452e435a91629afb2 Mon Sep 17 00:00:00 2001 From: Jelmen Guhlke Date: Sun, 5 Apr 2026 20:59:41 +0200 Subject: [PATCH] ci: remove deploy workflow --- .github/workflows/deploy.yml | 27 ----------------- .github/workflows/sign-artefacts.yml | 45 ---------------------------- 2 files changed, 72 deletions(-) delete mode 100644 .github/workflows/deploy.yml delete mode 100644 .github/workflows/sign-artefacts.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml deleted file mode 100644 index 056cff8..0000000 --- a/.github/workflows/deploy.yml +++ /dev/null @@ -1,27 +0,0 @@ -name: Deploy to the Maven Central Repository -on: - release: - types: [ created ] - workflow_dispatch: - -jobs: - package: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Set up Maven Central Repository - uses: actions/setup-java@v4 - with: - distribution: 'temurin' - java-version: '17' - server-id: central - server-username: MAVEN_USERNAME - server-password: MAVEN_PASSWORD - gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} - gpg-passphrase: MAVEN_GPG_PASSPHRASE - - name: Publish jSEPA to Maven Central - run: mvn --batch-mode -Psign,publish clean deploy - env: - MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }} - MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }} - MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }} \ No newline at end of file diff --git a/.github/workflows/sign-artefacts.yml b/.github/workflows/sign-artefacts.yml deleted file mode 100644 index 2986152..0000000 --- a/.github/workflows/sign-artefacts.yml +++ /dev/null @@ -1,45 +0,0 @@ -name: Test the signing of artefacts - -on: - workflow_dispatch: - -jobs: - compile: - runs-on: ubuntu-latest - timeout-minutes: 60 - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - name: Setup Java environment - uses: actions/setup-java@v4 - with: - distribution: 'temurin' - java-version: '17' - - name: Cache Maven packages - uses: actions/cache@v4 - with: - path: ~/.m2 - key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} - restore-keys: ${{ runner.os }}-m2 - - id: install-secret-key - name: Install gpg secret key - run: | - # Install gpg secret key - cat <(echo -e "${{ secrets.MAVEN_GPG_PRIVATE_KEY }}") | gpg --batch --import - # Verify gpg secret key - gpg --list-secret-keys --keyid-format LONG - - name: Package jSEPA - run: | - mvn \ - --batch-mode \ - -Dgpg.passphrase=${{ secrets.MAVEN_GPG_PASSPHRASE }} \ - -Psign \ - clean package - - name: Upload artefacts - uses: actions/upload-artifact@v4 - if: success() - with: - name: jSEPA-compile - retention-days: 1 - path: "./target/*" \ No newline at end of file