Skip to content

Commit

Permalink
Upgrade to new upload artifact versions (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
Supereg authored Feb 16, 2024
1 parent f963842 commit 79c5691
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/xcodebuild-or-fastlane.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,24 +161,24 @@ 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') }}
restore-keys: |
${{ 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'
Expand Down Expand Up @@ -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
Expand All @@ -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 }}
Expand Down

0 comments on commit 79c5691

Please sign in to comment.