Skip to content

Commit

Permalink
Use rustls for sentry client (#9667)
Browse files Browse the repository at this point in the history
* Fix workflow syntax
* Fix workflow syntax
* Use rustls for sentry
  • Loading branch information
yamadapc committed Apr 23, 2024
1 parent db2984d commit 82ed636
Show file tree
Hide file tree
Showing 3 changed files with 187 additions and 13 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/release.yml
Expand Up @@ -11,6 +11,11 @@ on:
description: 'The type of release, usually corresponds to the dist-tag'
required: true
type: string
profile:
description: 'The profile to use when building the native binaries'
required: false
default: 'release'
type: string
secrets:
GHCR_TOKEN:
required: true
Expand Down Expand Up @@ -53,7 +58,7 @@ jobs:
if: ${{ matrix.target == 'aarch64-apple-darwin' }}
run: sudo rm -Rf /Library/Developer/CommandLineTools/SDKs/*;
- name: Build native packages
run: yarn build-native-${{ input.profile || 'release' }}
run: yarn build-native-${{ inputs.profile }}
env:
RUST_TARGET: ${{ matrix.target }}
- name: Strip debug symbols # https://github.com/rust-lang/rust/issues/46034
Expand Down Expand Up @@ -88,7 +93,7 @@ jobs:
override: true
- uses: bahmutov/npm-install@v1.8.35
- name: Build native packages
run: yarn build-native-${{ input.profile || 'release' }}
run: yarn build-native-${{ inputs.profile }}
- name: Strip debug symbols # https://github.com/rust-lang/rust/issues/46034
run: strip packages/*/*/*.node
- name: Upload artifacts
Expand Down Expand Up @@ -133,7 +138,7 @@ jobs:
with:
shared-key: ${{ matrix.target }}
- name: Build native packages
run: yarn build-native-${{ input.profile || 'release' }}
run: yarn build-native-${{ inputs.profile }}
env:
RUST_TARGET: ${{ matrix.target }}
CFLAGS: ${{ matrix.cflags }}
Expand Down Expand Up @@ -186,7 +191,7 @@ jobs:
target: ${{ matrix.target }}
- uses: bahmutov/npm-install@v1.8.35
- name: Build native packages
run: yarn build-native-${{ input.profile || 'release' }}
run: yarn build-native-${{ inputs.profile }}
env:
RUST_TARGET: ${{ matrix.target }}
CFLAGS: ${{ matrix.cflags }}
Expand Down Expand Up @@ -217,7 +222,7 @@ jobs:
fetch-depth: 0
- uses: bahmutov/npm-install@v1.8.35
- name: Build native packages
run: yarn build-native-${{ input.profile || 'release' }}
run: yarn build-native-${{ inputs.profile }}
- name: Download artifacts
uses: actions/download-artifact@v3
with:
Expand Down
177 changes: 171 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 82ed636

Please sign in to comment.