FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
sentry-java/.github/workflows/build.yml at main · getsentry/sentry-java · GitHub
getsentry
/
sentry-java
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
478
Star
1.4k
Code
Issues
273
Pull requests
70
Discussions
Actions
Projects
Security and quality
1
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
sentry-java
/
.github
/
workflows
/
build.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
81 lines (69 loc) · 2.62 KB
Breadcrumbs
sentry-java
/
.github
/
workflows
/
build.yml
Copy path
File metadata and controls
81 lines (69 loc) · 2.62 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
76
77
78
79
80
81
name
:
'
Build
'
on
:
push
:
branches
:
-
main
pull_request
:
concurrency
:
group
:
${{ github.workflow }}-${{ github.ref }}
cancel-in-progress
:
true
jobs
:
build
:
name
:
Build Job ubuntu-latest - Java 17
runs-on
:
ubuntu-latest
env
:
GRADLE_ENCRYPTION_KEY
:
${{ secrets.GRADLE_ENCRYPTION_KEY }}
steps
:
-
name
:
Checkout Repo
uses
:
actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
#
v7.0.1
with
:
ref
:
${{ github.event.pull_request.head.sha || github.sha }}
submodules
:
'
recursive
'
-
name
:
Setup Java Version
uses
:
actions/setup-java@de7274f081f381c8f8158605e0321c36c376e2e6
#
v6.0.1
with
:
distribution
:
'
temurin
'
java-version
:
'
17
'
#
Workaround for https://github.com/gradle/actions/issues/21 to use config cache
-
name
:
Cache buildSrc
uses
:
actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9
#
v6.1.0
with
:
path
:
buildSrc/build
key
:
build-logic-${{ hashFiles('buildSrc/src/**', 'buildSrc/build.gradle.kts','buildSrc/settings.gradle.kts') }}
-
name
:
Setup Gradle
uses
:
gradle/actions/setup-gradle@9c971963bec38e04b3d30dcc455b5382be2fdbfb
#
v6.3.0
with
:
cache-encryption-key
:
${{ secrets.GRADLE_ENCRYPTION_KEY }}
-
name
:
Run Tests and Lint
run
:
make preMerge
-
name
:
Install Sentry CLI
uses
:
getsentry/action-setup-cli@70d7e587b84c2e78cf4d37cd33d7b74fb3729c1b
#
v1
-
name
:
Upload Snapshots to Sentry
#
Skip on PRs from forks, which don't have access to the upload secret
if
:
${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository }}
run
:
|
sentry-cli snapshots upload ./sentry-android-core/build/test-snapshots \
--app-id sentry-android-core
env
:
SENTRY_AUTH_TOKEN
:
${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG
:
sentry-sdks
SENTRY_PROJECT
:
sentry-android
-
name
:
Upload test results
if
:
always()
uses
:
actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a
#
v7
with
:
name
:
test-results-build
path
:
|
**/build/reports/*
-
name
:
Test Report
uses
:
phoenix-actions/test-reporting@7317eea6e13c47348dd0bb318669485157c518d6
#
pin@v16
if
:
always()
with
:
name
:
JUnit Build
list-suites
:
'
failed
'
list-tests
:
'
failed
'
path
:
|
**/build/test-results/**/*.xml
reporter
:
java-junit
output-to
:
step-summary
fail-on-error
:
false
Back
|
FazBrowse Home
|
New Git URL