-
-
Notifications
You must be signed in to change notification settings - Fork 192
35 lines (33 loc) · 967 Bytes
/
Copy pathci-snapshots.yml
File metadata and controls
35 lines (33 loc) · 967 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Publish Snaphots to Github Packages
on:
push:
branches:
- develop
workflow_dispatch: # Allow manual triggering
jobs:
publish-snapshots:
name: Deploy Snapshots
runs-on: ubuntu-latest
timeout-minutes: 45
if: github.ref == 'refs/heads/develop'
steps:
- uses: actions/checkout@v7
with:
fetch-depth: 1
- name: Set up JDK 21
uses: actions/setup-java@v5
with:
distribution: temurin
java-version: '21'
- uses: ./.github/actions/maven-cache
- uses: ./.github/actions/maven-github-settings
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Deploy SNAPSHOT maven artefacts
timeout-minutes: 40
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
mvn -V -B --no-transfer-progress -q -DskipTests -Ddependency-check.skip=true \
-P skip-build-dist-archives \
clean deploy