You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xmlgraphics.apache.org by ss...@apache.org on 2025/06/19 09:00:13 UTC
(xmlgraphics-fop-pdf-images) 01/01: Publish snapshots
This is an automated email from the ASF dual-hosted git repository.
ssteiner pushed a commit to branch temp/ssteiner-snapshot
in repository https://gitbox.apache.org/repos/asf/xmlgraphics-fop-pdf-images.git
commit 3a0fb46117d75ec3085dba2d4c90d7eadb6a6a2d
Author: Simon Steiner <ss...@apache.org>
AuthorDate: Thu Jun 19 09:59:30 2025 +0100
Publish snapshots
---
.github/workflows/publish-snapshot.yml | 42 ++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/.github/workflows/publish-snapshot.yml b/.github/workflows/publish-snapshot.yml
new file mode 100644
index 0000000..141ad90
--- /dev/null
+++ b/.github/workflows/publish-snapshot.yml
@@ -0,0 +1,42 @@
+# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
+# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven
+
+# This workflow uses actions that are not certified by GitHub.
+# They are provided by a third-party and are governed by
+# separate terms of service, privacy policy, and support
+# documentation.
+
+name: Publish Snapshot
+
+on:
+ push:
+ branches: [ "main" ]
+ pull_request:
+ branches: [ "temp/ssteiner-snapshot" ]
+
+jobs:
+ build:
+ name: Publish Snapshot with Java ${{ matrix.jdk }} ${{ matrix.os }}
+ runs-on: ${{ matrix.os }}
+ strategy:
+ fail-fast: false
+ matrix:
+ jdk: ['8']
+ os: [ubuntu-latest]
+
+ steps:
+ - uses: actions/checkout@v4
+ - name: Set up JDK ${{ matrix.jdk }}
+ uses: actions/setup-java@v4
+ with:
+ java-version: ${{ matrix.jdk }}
+ distribution: 'temurin'
+ cache: maven
+ server-id: apache.snapshots.https
+ server-username: NEXUS_USER
+ server-password: NEXUS_PW
+ - name: Deploy
+ run: mvn -B deploy
+ env:
+ NEXUS_USER: ${{ secrets.NEXUS_USER }}
+ NEXUS_PW: ${{ secrets.NEXUS_PW }}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: commits-help@xmlgraphics.apache.org