Skip to content
Merged
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
2 changes: 1 addition & 1 deletion .github/workflows/assemble-xcframework-variant.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ jobs:
shell: bash

- name: Upload XCFramework
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
env:
XCFRAMEWORK_NAME: ${{ env.XCFRAMEWORK_NAME }}
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/benchmarking.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
run: |
sentry-cli --auth-token ${{ secrets.SENTRY_AUTH_TOKEN }} upload-dif --org sentry-sdks --project sentry-cocoa DerivedData/Build/Products/Debug-iphoneos/iOS-Swift.app.dSYM
- name: Upload Built Apps for SauceLabs
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
with:
name: benchmark-apps
path: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-xcframework-variant-slices.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,15 +123,15 @@ jobs:
shell: bash

- name: Upload xcarchive
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
with:
name: xcframework-${{inputs.variant-id}}-slice-${{matrix.sdk}}
if-no-files-found: error
path: |
${{inputs.name}}${{inputs.suffix}}.xcarchive.zip

- name: Upload build log if failed
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
if: ${{ failure() || cancelled() }}
with:
name: raw-build-output-build-xcframework-${{inputs.variant-id}}-${{matrix.sdk}}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ jobs:
| xcbeautify --preserve-unbeautified

- name: Archiving Raw Build Logs
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
if: ${{ failure() || cancelled() }}
with:
name: raw-build-output-scheme-${{matrix.scheme}}
Expand All @@ -174,7 +174,7 @@ jobs:
- run: set -o pipefail && NSUnbufferedIO=YES xcodebuild build -scheme SentryDistribution -sdk iphoneos -destination 'generic/platform=iphoneos' | tee raw-build-output-spm.log | xcbeautify
shell: sh
- name: Upload SPM Build Logs
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
if: ${{ failure() || cancelled() }}
with:
name: raw-build-output-spm
Expand All @@ -199,7 +199,7 @@ jobs:
shell: sh

- name: Upload SPM Build Logs
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
if: ${{ failure() || cancelled() }}
with:
name: raw-build-output-spm
Expand Down Expand Up @@ -227,7 +227,7 @@ jobs:
--device "iPhone 16 Pro" \
--configuration Debug
- name: Archiving Raw Build Logs
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
if: ${{ failure() || cancelled() }}
with:
name: raw-build-output-v9
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
working-directory: Samples/iOS-Cocoapods-Swift6

- name: Upload Result Bundle
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
if: ${{ failure() }}
with:
name: integration-test-iOS-Cocoapods-Swift6.xcresult
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/objc-conversion-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
dot -Tsvg objc_dependencies_topo.dot -o objc_dependencies_topo.svg

- name: Upload analysis artifacts
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
with:
name: objc-conversion-analysis
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-upload-xcframework.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
run-id: ${{ env.FRAMEWORK_RUN_ID }}

- name: Archive XCFrameworks for Craft
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
with:
# Craft uses the git commit hash of the release branch to download the release artifacts.
name: ${{ github.sha }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ jobs:
path: XCFrameworkBuildPath/

- name: Archive XCFrameworks for Craft
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
with:
name: xcframeworks.zip
if-no-files-found: error
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,14 @@ jobs:
lipo -create -output test-server-exec $(swift build --show-bin-path -c release --triple arm64-apple-macosx)/Run $(swift build --show-bin-path -c release --triple x86_64-apple-macosx)/Run

- name: Archiving DerivedData
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
with:
name: test-server
path: |
./test-server/test-server-exec

- name: Archiving Raw Test Logs
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
if: ${{ failure() || cancelled() }}
with:
name: test-server-build-log
Expand Down Expand Up @@ -129,7 +129,7 @@ jobs:
- run: set -o pipefail && NSUnbufferedIO=YES SKIP_BINARIES=1 xcodebuild test -scheme Sentry-Package -sdk iphonesimulator -destination 'platform=iOS Simulator,OS=18.5,name=iPhone 16 Pro' | tee raw-test-output-distribution.log | xcbeautify --preserve-unbeautified
shell: sh
- name: Upload Distribution Test Logs
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
if: ${{ failure() || cancelled() }}
with:
name: raw-test-output-distribution
Expand Down Expand Up @@ -200,15 +200,15 @@ jobs:
--test-plan Sentry_TestServer

- name: Archiving DerivedData Logs
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
if: steps.build_tests.outcome == 'failure'
with:
name: derived-data-test-server-${{matrix.platform}}-xcode-${{matrix.xcode}}
path: |
/Users/runner/Library/Developer/Xcode/DerivedData/**/Logs/**

- name: Archiving Raw Logs
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
if: ${{ failure() || cancelled() }}
with:
name: raw-output-test-server-${{matrix.platform}}-xcode-${{matrix.xcode}}
Expand All @@ -218,7 +218,7 @@ jobs:
raw-test-output.log

- name: Archiving Crash Logs
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
if: ${{ failure() || cancelled() }}
with:
name: crash-logs-test-server-${{matrix.platform}}-xcode-${{matrix.xcode}}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/testflight.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
bundle exec fastlane ios_swift_to_testflight
- name: Archiving
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
with:
name: dSYMs
path: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ui-tests-common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,23 +155,23 @@ jobs:
flags: ui-tests-${{ inputs.fastlane_command }}-${{ inputs.xcode_version }}, ui-tests

- name: Upload Result Bundle
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
if: ${{ failure() }}
with:
name: ${{ inputs.fastlane_command }}${{ inputs.files_suffix }}
path: |
fastlane/test_results/**/*.xcresult

- name: Upload iOS Simulator Crash Logs
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
if: ${{ failure() }}
with:
name: ${{ inputs.fastlane_command }}${{ inputs.files_suffix }}_crash_logs
path: |
~/Library/Logs/DiagnosticReports/**

- name: Archiving Raw Test Logs
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
if: ${{ failure() || cancelled() }}
with:
name: ${{ inputs.fastlane_command }}${{ inputs.files_suffix }}_raw_output
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ui-tests-critical.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ jobs:
./TestSamples/SwiftUICrashTest/test-crash-and-relaunch.sh --screenshots-dir "swiftui-crash-test-screenshots"

- name: Upload SwiftUI Crash Test Screenshots
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
if: always()
with:
name: swiftui-crash-test-screenshots
Expand All @@ -129,7 +129,7 @@ jobs:
run: xcrun simctl spawn booted log collect --output $(pwd)/swiftui-crash-test-log.logarchive

- name: Upload Logs
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
if: always()
with:
name: swiftui-crash-test-log.logarchive
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/unit-test-common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,15 +167,15 @@ jobs:
detailed_summary: true

- name: Archiving DerivedData Logs
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
if: steps.build_tests.outcome == 'failure'
with:
name: derived-data-${{inputs.platform}}-xcode-${{inputs.xcode}}-os-${{inputs.test-destination-os}}
path: |
/Users/runner/Library/Developer/Xcode/DerivedData/**/Logs/**

- name: Archiving Raw Logs
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
if: ${{ failure() || cancelled() }}
with:
name: raw-output-${{inputs.platform}}-xcode-${{inputs.xcode}}-os-${{inputs.test-destination-os}}
Expand All @@ -185,15 +185,15 @@ jobs:
raw-test-output.log

- name: Archiving Crash Logs
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
if: ${{ failure() || cancelled() }}
with:
name: crash-logs-${{inputs.platform}}-xcode-${{inputs.xcode}}-os-${{inputs.test-destination-os}}
path: |
~/Library/Logs/DiagnosticReports/**

- name: Archiving Test Results
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
if: ${{ failure() || cancelled() }}
with:
name: result-bundle-${{inputs.platform}}-xcode-${{inputs.xcode}}-os-${{inputs.test-destination-os}}
Expand Down
Loading