Skip to content

Commit

Permalink
ci: release debug symbols (#1828)
Browse files Browse the repository at this point in the history
  • Loading branch information
edusperoni authored Oct 15, 2024
1 parent 94ddb15 commit b624373
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/npm_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,12 @@ jobs:
with:
name: npm-package
path: dist/nativescript-android-${{steps.npm_version_output.outputs.NPM_VERSION}}.tgz
- name: Upload debug symbols
uses: actions/upload-artifact@v3
with:
name: debug-symbols
path: test-app/runtime/build/intermediates/merged_native_libs/release/mergeReleaseNativeLibs/out/lib/*

test:
name: Test
runs-on: macos-13
Expand Down Expand Up @@ -174,10 +180,17 @@ jobs:
with:
name: npm-package
path: dist
- uses: actions/download-artifact@v3
with:
name: debug-symbols
path: dist/debug-symbols
- name: Zip debug symbols
working-directory: dist/debug-symbols
run: zip -r debug-symbols.zip .
- name: Partial Changelog
run: npx conventional-changelog -p angular -r2 > body.md
- uses: ncipollo/release-action@v1
with:
artifacts: "dist/nativescript-android-*.tgz"
artifacts: "dist/nativescript-android-*.tgz,dist/debug-symbols/debug-symbols.zip"
bodyFile: "body.md"
prerelease: ${{needs.build.outputs.npm_tag != 'latest'}}
5 changes: 5 additions & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,11 @@ jobs:
with:
name: npm-package
path: dist/nativescript-android-${{steps.npm_version_output.outputs.NPM_VERSION}}.tgz
- name: Upload debug symbols
uses: actions/upload-artifact@v3
with:
name: debug-symbols
path: test-app/runtime/build/intermediates/merged_native_libs/release/mergeReleaseNativeLibs/out/lib/*
test:
name: Test
runs-on: macos-13
Expand Down

0 comments on commit b624373

Please sign in to comment.