forked from oxisto/kotlintree
-
Notifications
You must be signed in to change notification settings - Fork 1
52 lines (44 loc) · 1.41 KB
/
dependencies.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
name: 'Dependencies'
on:
push:
branches:
- 'master'
env:
GRADLE_OPTS: -Dorg.gradle.daemon=true -Dorg.gradle.parallel=true -Dorg.gradle.welcome=never
jobs:
dependencies:
name: 'Dependencies'
runs-on: ubuntu-latest
# The Dependency Submission API requires write permission.
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
# Fetch Git tags, so that semantic version can be calculated.
# Alternatively, run `git fetch --prune --unshallow --tags` as the
# next step, see
# https://github.com/actions/checkout/issues/206#issuecomment-607496604.
fetch-depth: 0
- name: 'Set up Java 11'
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 11
java-package: 'jdk+fx'
- name: 'Set up Gradle'
id: build
uses: gradle/gradle-build-action@v2
with:
gradle-version: wrapper
# `gradlew :jna-lib:dependencies --configuration compileClasspath`
- name: 'Run snapshot action'
uses: mikepenz/[email protected]
with:
use-gradlew: true
gradle-build-module: |-
:jna-lib
# `compileClasspath` configuration has no dependencies in multiplatform
# projects.
gradle-build-configuration: |-
compileClasspath