-
Notifications
You must be signed in to change notification settings - Fork 626
49 lines (40 loc) · 1.32 KB
/
ci-snapshot.yml
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: CI SNAPSHOT
on:
workflow_dispatch:
push:
branches:
- main
- '*.x'
schedule:
- cron: '0 5 * * *'
concurrency:
group: group-snapshot-for-${{ github.ref }}
cancel-in-progress: true
jobs:
build-snapshot:
runs-on: ubuntu-latest
name: CI Build SNAPSHOT for ${{ github.ref_name }}
env:
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
steps:
- name: Start RabbitMQ
uses: namoshek/rabbitmq-github-action@v1
with:
ports: '5672:5672 15672:15672 5552:5552'
plugins: rabbitmq_stream,rabbitmq_management,rabbitmq_delayed_message_exchange,rabbitmq_consistent_hash_exchange
- uses: actions/checkout@v4
with:
show-progress: false
- name: Checkout Common Repo
uses: actions/checkout@v4
with:
repository: spring-io/spring-github-workflows
path: spring-github-workflows
show-progress: false
- name: Build and Publish
timeout-minutes: 30
uses: ./spring-github-workflows/.github/actions/spring-artifactory-gradle-build
with:
gradleTasks: ${{ github.event_name == 'schedule' && '--rerun-tasks' || '' }}
artifactoryUsername: ${{ secrets.ARTIFACTORY_USERNAME }}
artifactoryPassword: ${{ secrets.ARTIFACTORY_PASSWORD }}