Commit 495d50a
committed
Update GitHub Actions workflow for release process
This commit updates the GitHub Actions workflow for releasing the Customer Pulse Survey Library. Key changes include:
- Updated actions/checkout to v4.
- Changed Java setup from JDK 12 to JDK 17 using actions/setup-java@v4 with temurin distribution.
- Replaced manual Gradle caching with gradle/actions/setup-gradle@v3.
- Modified the AAR build command to `./gradlew :CustomerPulseSurvey:assembleRelease --no-daemon --stacktrace`.
- Added a step to list AAR outputs for debugging.
- Updated the create release action to softprops/action-gh-release@v2.
- Changed `tag_name` and `release_name` to use `github.ref_name`.
- Simplified asset uploading by directly specifying files in the `softprops/action-gh-release` action.
- Added `workflow_dispatch` trigger.
- Added `permissions` block with `contents: write`.
- Commented out the optional step for publishing to GitHub Package Registry.1 parent 0ed567c commit 495d50a
1 file changed
+34
-36
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
6 | 12 | | |
7 | 13 | | |
8 | 14 | | |
9 | 15 | | |
10 | 16 | | |
11 | 17 | | |
12 | | - | |
| 18 | + | |
13 | 19 | | |
14 | | - | |
15 | | - | |
| 20 | + | |
| 21 | + | |
16 | 22 | | |
17 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
18 | 28 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| 32 | + | |
31 | 33 | | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | | - | |
45 | | - | |
| 43 | + | |
46 | 44 | | |
47 | | - | |
48 | | - | |
| 45 | + | |
| 46 | + | |
49 | 47 | | |
50 | 48 | | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
| 49 | + | |
| 50 | + | |
55 | 51 | | |
56 | 52 | | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
0 commit comments