forked from ThreeTen/threetenbp
-
Notifications
You must be signed in to change notification settings - Fork 6
71 lines (68 loc) · 2.1 KB
/
UpdateDependencies.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
name: Update JRS snapshots
on:
workflow_dispatch:
schedule:
- cron: '0 5 * * *'
jobs:
updateGWT28:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: 'master'
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'zulu'
cache: maven
- uses: s4u/[email protected]
with:
sonatypeSnapshots: true
apacheSnapshots: true
servers: |
[{
"id": "ossrh",
"username": "${{ secrets.SONATYPE_USERNAME }}",
"password": "${{ secrets.SONATYPE_PASSWORD }}"
}]
- name: Update dependencies
run: mvn -B versions:resolve-ranges versions:update-properties -Dincludes=com.jresearchsoft*:*,org.jresearch*:* -DallowSnapshots --builder singlethreaded
working-directory: pom
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
branch: gwt28/dep-update
commit-message: Update shapshot dependencies
token: ${{ secrets.PAT }}
updateGWT29:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: 'GWT29'
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'zulu'
cache: maven
- uses: s4u/[email protected]
with:
sonatypeSnapshots: true
apacheSnapshots: true
servers: |
[{
"id": "ossrh",
"username": "${{ secrets.SONATYPE_USERNAME }}",
"password": "${{ secrets.SONATYPE_PASSWORD }}"
}]
- name: Update dependencies
run: mvn -B versions:resolve-ranges versions:update-properties -Dincludes=com.jresearchsoft*:*,org.jresearch*:* -DallowSnapshots --builder singlethreaded
working-directory: pom
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
branch: gwt29/dep-update
commit-message: Update shapshot dependencies
token: ${{ secrets.PAT }}