-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: update checkout, cache, find-comment and create-or-update-comment
- Loading branch information
Showing
1 changed file
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,13 +25,13 @@ jobs: | |
name: Test SDK | ||
runs-on: macOS-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Use Xcode ${{ env.XCODE_VERSION }} | ||
run: sudo xcode-select -switch /Applications/Xcode_${XCODE_VERSION}.app | ||
|
||
- name: "Cache dependencies" | ||
uses: actions/cache@v3 | ||
uses: actions/cache@v4 | ||
with: | ||
path: Carthage/build | ||
key: ${{ runner.os }}-carthage-v2-${{ hashFiles('**/Cartfile.resolved') }} | ||
|
@@ -50,7 +50,7 @@ jobs: | |
cp .lint/cocoapods-size/result.json cocoapods-size-result.json | ||
- if: github.event_name == 'push' | ||
uses: actions/cache@v3 | ||
uses: actions/cache@v4 | ||
with: | ||
path: cocoapods-size-result.json | ||
key: cocoapods-size-${{ github.sha }} | ||
|
@@ -60,9 +60,9 @@ jobs: | |
if: github.event_name == 'pull_request' | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: actions/cache@v3 | ||
- uses: actions/cache@v4 | ||
with: | ||
path: cocoapods-size-result.json | ||
key: cocoapods-size-${{ github.sha }} | ||
|
@@ -97,13 +97,13 @@ jobs: | |
- id: diff_size | ||
run: echo "value=$((${{ steps.pr_size.outputs.value }} - ${{ steps.main_size.outputs.value }}))" >> $GITHUB_OUTPUT | ||
|
||
- uses: peter-evans/find-comment@v2 | ||
- uses: peter-evans/find-comment@v3 | ||
id: find_comment | ||
with: | ||
issue-number: ${{ github.event.pull_request.number }} | ||
body-includes: Cocoapods size report | ||
|
||
- uses: peter-evans/create-or-update-comment@v2 | ||
- uses: peter-evans/create-or-update-comment@v3 | ||
with: | ||
body: | | ||
Cocoapods size report: | ||
|
@@ -134,7 +134,7 @@ jobs: | |
- xcode: '14.2' | ||
experimental: true | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Use Xcode ${{ matrix.xcode }} | ||
run: sudo xcode-select -switch /Applications/Xcode_${{ matrix.xcode }}.app | ||
|
@@ -155,7 +155,7 @@ jobs: | |
needs: samples | ||
runs-on: macOS-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Use Xcode ${{ env.XCODE_VERSION }} | ||
run: sudo xcode-select -switch /Applications/Xcode_${XCODE_VERSION}.app | ||
|
@@ -172,4 +172,4 @@ jobs: | |
run: | | ||
git config user.name github-actions | ||
git config user.email [email protected] | ||
bundle exec fastlane release | ||
bundle exec fastlane release |