This repository has been archived by the owner on Oct 26, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
75 lines (66 loc) · 2.27 KB
/
dependencyUpdates.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
72
73
74
75
# 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.
# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
name: Check for Updates
on:
push:
branches:
- main
- master
- release
pull_request:
branches:
- main
- master
- release
jobs:
checkUpdates:
name: Check for available updates
runs-on: ubuntu-latest
steps:
# Check out sources
- name: Fetch Sources
uses: actions/checkout@v4
- name: Fetch Sources of TweetwallFX-core projects
uses: actions/checkout@v4
with:
path: .tweetwallFX-core/
repository: TweetWallFX/TweetwallFX
# Validate wrapper
- name: Gradle Wrapper Validation
uses: gradle/[email protected]
# Setup JDK environment for the next steps
- name: Setup JDK 17
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
cache: gradle
# Run dependencyUpdates task
- name: Run dependencyUpdates task
uses: gradle/[email protected]
with:
arguments: --no-daemon --refresh-dependencies --scan dependencyUpdates
# Store dependencyUpdates result files
- name: Store dependencyUpdates result files
uses: actions/upload-artifact@v3
with:
name: dependencyUpdates results
path: build/dependencyUpdates/
retention-days: 3
# # Run dependency-analysis task
# - name: Run dependency-analysis task
# uses: gradle/[email protected]
# with:
# arguments: --no-daemon --refresh-dependencies --scan buildHealth
#
# # Store dependency-analysis result files
# - name: Store dependency-analysis result files
# uses: actions/upload-artifact@v3
# with:
# name: dependency-analysis results
# path: build/reports/dependency-analysis/
# retention-days: 3