From 4752a4dedc6a69a189c7e5f213498ec1a0b6e5b6 Mon Sep 17 00:00:00 2001 From: Andreas Bauer Date: Fri, 16 Feb 2024 11:22:57 -0800 Subject: [PATCH] Upgrade to new upload artifact versions (#47) # Upgrade to new upload artifact versions ## :recycle: Current situation & Problem This PR upgrades the upload artifact branch in this repository. Refer to https://github.com/StanfordBDHG/.github/pull/52 for more information. ## :gear: Release Notes * Upgraded the upload-artifact GitHub action for increased performance. ## :books: Documentation -- ## :white_check_mark: Testing -- ## :pencil: Code of Conduct & Contributing Guidelines By submitting creating this pull request, you agree to follow our [Code of Conduct](https://github.com/StanfordSpezi/.github/blob/main/CODE_OF_CONDUCT.md) and [Contributing Guidelines](https://github.com/StanfordSpezi/.github/blob/main/CONTRIBUTING.md): - [x] I agree to follow the [Code of Conduct](https://github.com/StanfordSpezi/.github/blob/main/CODE_OF_CONDUCT.md) and [Contributing Guidelines](https://github.com/StanfordSpezi/.github/blob/main/CONTRIBUTING.md). --- .github/workflows/xcodebuild-or-fastlane.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/xcodebuild-or-fastlane.yml b/.github/workflows/xcodebuild-or-fastlane.yml index 64bafd8..24895cb 100644 --- a/.github/workflows/xcodebuild-or-fastlane.yml +++ b/.github/workflows/xcodebuild-or-fastlane.yml @@ -161,7 +161,7 @@ jobs: run: gem install xcpretty - name: Cache .derivedData folder if: ${{ inputs.cacheDerivedData }} - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: .derivedData key: ${{ runner.os }}-${{ runner.arch }}-derivedData-${{ hashFiles('**/Package.swift', '**/*.pbxproj') }} @@ -169,16 +169,16 @@ jobs: ${{ runner.os }}-${{ runner.arch }}-derivedData- - name: Cache Firebase Emulators if: ${{ !env.selfhosted && inputs.setupfirebaseemulator }} - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.cache/firebase/emulators key: ${{ runner.os }}-${{ runner.arch }}-firebase-emulators-${{ hashFiles('~/.cache/firebase/emulators/**') }} - name: Setup NodeJS if: ${{ !env.selfhosted && inputs.setupfirebaseemulator }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 - name: Setup Java if: ${{ !env.selfhosted && inputs.setupfirebaseemulator }} - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: 'microsoft' java-version: '17' @@ -360,6 +360,7 @@ jobs: -derivedDataPath ".derivedData" \ -resultBundlePath "$RESULTBUNDLE" \ CODE_SIGNING_REQUIRED=NO \ + CODE_SIGN_IDENTITY="" \ OTHER_SWIFT_FLAGS="\$(inherited) $ENABLE_TESTING_FLAG" \ | xcpretty - name: Fastlane @@ -375,7 +376,7 @@ jobs: uses: github/codeql-action/analyze@v2 - name: Upload artifact if: ${{ (success() || failure()) && inputs.artifactname != '' && inputs.buildConfig != 'Release' }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ inputs.artifactname }} path: ${{ inputs.path }}/${{ inputs.artifactname }}