This is an automated email from the ASF dual-hosted git repository. mibo pushed a commit to branch release-test in repository https://gitbox.apache.org/repos/asf/olingo-odata4.git
commit 04bd836cadd1f6d9ae3435d0c8fa61acebd6777d Author: mibo <[email protected]> AuthorDate: Thu Sep 4 10:15:09 2025 +0200 Test with release --- .github/workflows/apache-release.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/.github/workflows/apache-release.yml b/.github/workflows/apache-release.yml new file mode 100644 index 000000000..be5db7b23 --- /dev/null +++ b/.github/workflows/apache-release.yml @@ -0,0 +1,30 @@ +name: Build and Deploy to Apache Maven + +on: + push: + branches: + - master + - main + workflow_dispatch: + +jobs: + build-deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Set up JDK + uses: actions/setup-java@v4 + with: + distribution: 'temurin' + java-version: '17' + cache: 'maven' + server-id: 'apache.snapshots.https' + server-username: 'APACHE_NEXUS_USERNAME' + server-password: 'APACHE_NEXUS_PASSWORD' + gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }} + gpg-passphrase: ${{ secrets.GPG_PASSPHRASE }} + - name: Build and Deploy + run: mvn -B clean deploy -P apache-release -Dgpg.passphrase=${{ secrets.GPG_PASSPHRASE }} + env: + MAVEN_USERNAME: ${{ secrets.APACHE_NEXUS_USERNAME }} + MAVEN_PASSWORD: ${{ secrets.APACHE_NEXUS_PASSWORD }} \ No newline at end of file
