-
-
Notifications
You must be signed in to change notification settings - Fork 19
46 lines (37 loc) · 1.05 KB
/
upload-artifacts.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
name: "Generate and upload distributions"
on:
push:
branches:
- release/**
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
archive-distribution:
runs-on: macos-latest-xlarge
steps:
- uses: actions/checkout@v4
- name: JDK setup
uses: actions/setup-java@v3
with:
java-version: 17
distribution: temurin
- name: Cached Gradle
uses: gradle/gradle-build-action@842c587ad8aa4c68eeba24c396e15af4c2e9f30a
- name: DistZip libraries
run: |
./gradlew distZip
- name: DistZip plugin
run: |
cd sentry-kotlin-multiplatform-gradle-plugin
./gradlew distZip sentryPluginMarkerDistZip
- name: Validate distributions
run: |
./gradlew validateDistributions
- name: Archive packages
uses: actions/upload-artifact@v4
with:
name: ${{ github.sha }}
if-no-files-found: error
path: |
./*/build/distributions/*.zip