-
-
Notifications
You must be signed in to change notification settings - Fork 40
59 lines (52 loc) · 1.87 KB
/
Copy pathupdate-deps.yml
File metadata and controls
59 lines (52 loc) · 1.87 KB
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
name: Update Dependencies
on:
# Run every day.
schedule:
- cron: '0 3 * * *'
# And on on every PR merge so we get the updated dependencies ASAP, and to make sure the changelog doesn't conflict.
push:
branches:
- main
workflow_dispatch:
permissions:
contents: write
pull-requests: write
actions: write
jobs:
cli:
runs-on: ubuntu-latest
steps:
- uses: getsentry/github-workflows/updater@607fed74f812e69201531a5185b6c3c57caa4e89 # v3
with:
path: plugin-build/sentry-cli.properties
name: CLI
ssh-key: ${{ secrets.CI_DEPLOY_KEY }}
android:
runs-on: ubuntu-latest
steps:
# The SDK lives in plugin-build's STRICT dependency lock + verification metadata,
# so the post-update-script regenerates both. Gradle and Java are set up here
# because the updater runs that script before opening the PR.
- name: Setup Gradle
uses: gradle/actions/setup-gradle@3f131e8634966bd73d06cc69884922b02e6faf92 # pin@v6
with:
cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
- name: Set up Java
uses: actions/setup-java@0f481fcb613427c0f801b606911222b5b6f3083a # v5
with:
distribution: 'temurin'
java-version: '17'
- uses: getsentry/github-workflows/updater@607fed74f812e69201531a5185b6c3c57caa4e89 # v3
with:
path: scripts/update-android.sh
name: Android SDK
ssh-key: ${{ secrets.CI_DEPLOY_KEY }}
post-update-script: scripts/relock-plugin-build.sh
composable-preview-scanner:
runs-on: ubuntu-latest
steps:
- uses: getsentry/github-workflows/updater@607fed74f812e69201531a5185b6c3c57caa4e89 # v3
with:
path: plugin-build/composable-preview-scanner.properties
name: ComposablePreviewScanner
ssh-key: ${{ secrets.CI_DEPLOY_KEY }}