Skip to content

Commit b624373

Browse files
authored
ci: release debug symbols (#1828)
1 parent 94ddb15 commit b624373

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

.github/workflows/npm_release.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,12 @@ jobs:
7777
with:
7878
name: npm-package
7979
path: dist/nativescript-android-${{steps.npm_version_output.outputs.NPM_VERSION}}.tgz
80+
- name: Upload debug symbols
81+
uses: actions/upload-artifact@v3
82+
with:
83+
name: debug-symbols
84+
path: test-app/runtime/build/intermediates/merged_native_libs/release/mergeReleaseNativeLibs/out/lib/*
85+
8086
test:
8187
name: Test
8288
runs-on: macos-13
@@ -174,10 +180,17 @@ jobs:
174180
with:
175181
name: npm-package
176182
path: dist
183+
- uses: actions/download-artifact@v3
184+
with:
185+
name: debug-symbols
186+
path: dist/debug-symbols
187+
- name: Zip debug symbols
188+
working-directory: dist/debug-symbols
189+
run: zip -r debug-symbols.zip .
177190
- name: Partial Changelog
178191
run: npx conventional-changelog -p angular -r2 > body.md
179192
- uses: ncipollo/release-action@v1
180193
with:
181-
artifacts: "dist/nativescript-android-*.tgz"
194+
artifacts: "dist/nativescript-android-*.tgz,dist/debug-symbols/debug-symbols.zip"
182195
bodyFile: "body.md"
183196
prerelease: ${{needs.build.outputs.npm_tag != 'latest'}}

.github/workflows/pull_request.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,11 @@ jobs:
7474
with:
7575
name: npm-package
7676
path: dist/nativescript-android-${{steps.npm_version_output.outputs.NPM_VERSION}}.tgz
77+
- name: Upload debug symbols
78+
uses: actions/upload-artifact@v3
79+
with:
80+
name: debug-symbols
81+
path: test-app/runtime/build/intermediates/merged_native_libs/release/mergeReleaseNativeLibs/out/lib/*
7782
test:
7883
name: Test
7984
runs-on: macos-13

0 commit comments

Comments
 (0)