mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
ci: Upload sentry debug dSYMs for Apple (#7682)
Needed to print traces in Sentry issues for the apple clients.
This commit is contained in:
11
.github/workflows/_swift.yml
vendored
11
.github/workflows/_swift.yml
vendored
@@ -70,6 +70,7 @@ jobs:
|
||||
ISSUER_ID: "${{ secrets.APPLE_APP_STORE_CONNECT_ISSUER_ID }}"
|
||||
API_KEY_ID: "${{ secrets.APPLE_APP_STORE_CONNECT_API_KEY_ID }}"
|
||||
API_KEY: "${{ secrets.APPLE_APP_STORE_CONNECT_API_KEY }}"
|
||||
RUNNER_TEMP: "${{ runner.temp }}"
|
||||
- run: ${{ matrix.upload-script }}
|
||||
if: "${{ github.event_name == 'workflow_dispatch' }}"
|
||||
env:
|
||||
@@ -80,6 +81,16 @@ jobs:
|
||||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||
RELEASE_NAME: "${{ matrix.release-name }}"
|
||||
PLATFORM: "${{ matrix.platform }}"
|
||||
- name: Setup sentry CLI
|
||||
if: ${{ github.ref_name == 'main' }}
|
||||
uses: matbour/setup-sentry-cli@v2
|
||||
with:
|
||||
token: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
||||
organization: firezone-inc
|
||||
- name: Upload debug symbols to Sentry
|
||||
if: ${{ github.ref_name == 'main' }}
|
||||
run: |
|
||||
sentry-cli debug-files upload --log-level info --project apple-client --include-sources ${{ runner.temp }}
|
||||
- uses: actions/cache/save@v4
|
||||
if: ${{ steps.cache.outputs.cache-hit != 'true'}}
|
||||
name: Save Swift DerivedData Cache
|
||||
|
||||
@@ -9,7 +9,7 @@ source "./scripts/build/lib.sh"
|
||||
# Define needed variables
|
||||
app_profile_id=8da59aa3-e8da-4a8c-9902-2d540324d92c
|
||||
ne_profile_id=0fccb78a-97c0-41b9-8c54-9c995280ea8e
|
||||
temp_dir=$(mktemp -d)
|
||||
temp_dir="${RUNNER_TEMP:-$(mktemp -d)}"
|
||||
archive_path="$temp_dir/Firezone.xcarchive"
|
||||
export_options_plist_path="$temp_dir/ExportOptions.plist"
|
||||
git_sha=${GITHUB_SHA:-$(git rev-parse HEAD)}
|
||||
|
||||
@@ -9,7 +9,7 @@ source "./scripts/build/lib.sh"
|
||||
# Define needed variables
|
||||
app_profile_id=2bf20e38-81ea-40d0-91e5-330cf58f52d9
|
||||
ne_profile_id=2c683d1a-4479-451c-9ee6-ae7d4aca5c93
|
||||
temp_dir=$(mktemp -d)
|
||||
temp_dir="${RUNNER_TEMP:-$(mktemp -d)}"
|
||||
package_path="$temp_dir/Firezone.pkg"
|
||||
git_sha=${GITHUB_SHA:-$(git rev-parse HEAD)}
|
||||
project_file=swift/apple/Firezone.xcodeproj
|
||||
|
||||
@@ -10,7 +10,7 @@ source "./scripts/build/lib.sh"
|
||||
app_profile_id=c5d97f71-de80-4dfc-80f8-d0a4393ff082
|
||||
ne_profile_id=153db941-2136-4d6c-96ef-52f748521e78
|
||||
notarize=${NOTARIZE:-"false"}
|
||||
temp_dir=$(mktemp -d)
|
||||
temp_dir="${RUNNER_TEMP:-$(mktemp -d)}"
|
||||
dmg_dir="$temp_dir/dmg"
|
||||
dmg_path="$temp_dir/Firezone.dmg"
|
||||
package_path="$temp_dir/package.dmg"
|
||||
|
||||
Reference in New Issue
Block a user