diff --git a/.github/workflows/assemble-xcframework-variant.yml b/.github/workflows/assemble-xcframework-variant.yml index 07c6764b0a0..5e1d7504619 100644 --- a/.github/workflows/assemble-xcframework-variant.yml +++ b/.github/workflows/assemble-xcframework-variant.yml @@ -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: diff --git a/.github/workflows/benchmarking.yml b/.github/workflows/benchmarking.yml index fca01126fff..4ee6b596ddb 100644 --- a/.github/workflows/benchmarking.yml +++ b/.github/workflows/benchmarking.yml @@ -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: | diff --git a/.github/workflows/build-xcframework-variant-slices.yml b/.github/workflows/build-xcframework-variant-slices.yml index 2f5dfefdddd..e0bdbbec29b 100644 --- a/.github/workflows/build-xcframework-variant-slices.yml +++ b/.github/workflows/build-xcframework-variant-slices.yml @@ -123,7 +123,7 @@ 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 @@ -131,7 +131,7 @@ jobs: ${{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}} diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4e476b84403..c2a6fc8c40f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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}} @@ -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 @@ -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 @@ -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 diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index 3f4b40fca18..c11638a7288 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -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 diff --git a/.github/workflows/objc-conversion-analysis.yml b/.github/workflows/objc-conversion-analysis.yml index 7ac019082a3..4f9f1f14e65 100644 --- a/.github/workflows/objc-conversion-analysis.yml +++ b/.github/workflows/objc-conversion-analysis.yml @@ -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: | diff --git a/.github/workflows/release-upload-xcframework.yml b/.github/workflows/release-upload-xcframework.yml index 9c8575bccc1..7a19bc33d32 100644 --- a/.github/workflows/release-upload-xcframework.yml +++ b/.github/workflows/release-upload-xcframework.yml @@ -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 }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f9bf5371447..715daa4a8bf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 32dd12032b6..842d603f1bc 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 @@ -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 @@ -200,7 +200,7 @@ 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}} @@ -208,7 +208,7 @@ jobs: /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}} @@ -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}} diff --git a/.github/workflows/testflight.yml b/.github/workflows/testflight.yml index a9202560fcf..4253df207f3 100644 --- a/.github/workflows/testflight.yml +++ b/.github/workflows/testflight.yml @@ -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: | diff --git a/.github/workflows/ui-tests-common.yml b/.github/workflows/ui-tests-common.yml index 323802889a4..bfc87a505fb 100644 --- a/.github/workflows/ui-tests-common.yml +++ b/.github/workflows/ui-tests-common.yml @@ -155,7 +155,7 @@ 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 }} @@ -163,7 +163,7 @@ jobs: 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 @@ -171,7 +171,7 @@ jobs: ~/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 diff --git a/.github/workflows/ui-tests-critical.yml b/.github/workflows/ui-tests-critical.yml index c0206c7ca1f..bcea7d78cac 100644 --- a/.github/workflows/ui-tests-critical.yml +++ b/.github/workflows/ui-tests-critical.yml @@ -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 @@ -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 diff --git a/.github/workflows/unit-test-common.yml b/.github/workflows/unit-test-common.yml index e331b83431f..4650ddf9264 100644 --- a/.github/workflows/unit-test-common.yml +++ b/.github/workflows/unit-test-common.yml @@ -167,7 +167,7 @@ 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}} @@ -175,7 +175,7 @@ jobs: /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}} @@ -185,7 +185,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-${{inputs.platform}}-xcode-${{inputs.xcode}}-os-${{inputs.test-destination-os}} @@ -193,7 +193,7 @@ jobs: ~/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}}