Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update Java SDK to v8.1.0 #2002

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 21 additions & 17 deletions .github/workflows/sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,30 +38,34 @@ jobs:
- run: cp -r package-dev/Plugins/${{ inputs.target }} sdk-static || echo "never mind, no files checked in..."
shell: bash

- name: Restore from cache
uses: actions/cache@v3
id: cache
with:
# Note: native SDKs are cached and only built if the respective 'package-dev/Plugins/' directories are empty.
# Output changes only depending on the git sha of the submodules
# hash of package/package.json for cache busting on release builds (version bump)
path: |
package-dev/Plugins
modules/sentry-java/sentry-android-ndk/build/intermediates/merged_native_libs/release/out/lib
key: sdk=${{ inputs.target }}-${{ hashFiles('submodules-status', 'package/package.json', 'Directory.Build.targets', 'sdk-static/**') }}
# - name: Restore from cache
# uses: actions/cache@v3
# id: cache
# with:
# # Note: native SDKs are cached and only built if the respective 'package-dev/Plugins/' directories are empty.
# # Output changes only depending on the git sha of the submodules
# # hash of package/package.json for cache busting on release builds (version bump)
# path: |
# package-dev/Plugins
# modules/sentry-java/sentry-android-ndk/build/intermediates/merged_native_libs/release/out/lib
# key: sdk=${{ inputs.target }}-${{ hashFiles('submodules-status', 'package/package.json', 'Directory.Build.targets', 'sdk-static/**') }}

- name: Installing Linux Dependencies
if: ${{ inputs.target == 'Linux' && steps.cache.outputs.cache-hit != 'true' }}
run: |
sudo apt-get update
sudo apt-get install zlib1g-dev libcurl4-openssl-dev libssl-dev
# - name: Installing Linux Dependencies
# if: ${{ inputs.target == 'Linux' && steps.cache.outputs.cache-hit != 'true' }}
# run: |
# sudo apt-get update
# sudo apt-get install zlib1g-dev libcurl4-openssl-dev libssl-dev

- name: Build
if: steps.cache.outputs.cache-hit != 'true'
run: |
git submodule update --init --recursive ${{ steps.env.outputs.submodules }}
dotnet msbuild /t:Build${{ inputs.target }}SDK /p:Configuration=Release /p:OutDir=other src/Sentry.Unity

- name: List Android libraries
if: ${{ inputs.target == 'Android' }}
shell: bash
run: ls -R modules/sentry-java/sentry-android-ndk/build/intermediates/merged_native_libs/release/

- name: Upload build logs on failure
if: ${{ failure() }}
uses: actions/upload-artifact@v4
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
- Bump .NET SDK from v5.0.1 to v5.1.0 ([#2005](https://github.com/getsentry/sentry-unity/pull/2005))
- [changelog](https://github.com/getsentry/sentry-dotnet/blob/main/CHANGELOG.md#510)
- [diff](https://github.com/getsentry/sentry-dotnet/compare/5.0.1...5.1.0)
- Bump Java SDK from v7.20.0 to v8.1.0 ([#2002](https://github.com/getsentry/sentry-unity/pull/2002))
- [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#810)
- [diff](https://github.com/getsentry/sentry-java/compare/7.20.0...8.1.0)

## 3.0.0-beta.1

Expand Down
2 changes: 1 addition & 1 deletion modules/sentry-java
Submodule sentry-java updated 900 files
Loading