Skip to content

Commit 29bbb68

Browse files
authored
Merge pull request #1209 from BranchMetrics/INFRA-XX-ghaupdate-actions
INFRA-XX Auto-update GHA actions
2 parents 39a77a7 + fa52e5b commit 29bbb68

File tree

4 files changed

+20
-20
lines changed

4 files changed

+20
-20
lines changed

.github/workflows/integration-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ jobs:
99
runs-on: macos-latest
1010
steps:
1111
- name: Check out code
12-
uses: actions/checkout@v2
12+
uses: actions/checkout@v3
1313
- name: Set up Ruby 2.7
1414
uses: ruby/setup-ruby@v1
1515
with:
1616
ruby-version: '2.7'
1717
- name: Restore cache
18-
uses: actions/cache@v2
18+
uses: actions/cache@v3
1919
with:
2020
path: |
2121
vendor
@@ -35,7 +35,7 @@ jobs:
3535
- name: Run integration tests
3636
run: bundle exec fastlane integration_tests
3737
- name: Upload test results
38-
uses: actions/upload-artifact@v2
38+
uses: actions/upload-artifact@v3
3939
if: always() # even if tests fail
4040
with:
4141
name: test-results

.github/workflows/release.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: macos-latest
1212
steps:
1313
- name: Check out code
14-
uses: actions/checkout@v2
14+
uses: actions/checkout@v3
1515
- name: Build xcframework
1616
working-directory: carthage-files
1717
run: |
@@ -21,7 +21,7 @@ jobs:
2121
echo '#checksum for Branch.zip on Github' > checksum
2222
shasum Branch.zip >> checksum
2323
- name: Upload build artifacts
24-
uses: actions/upload-artifact@v2
24+
uses: actions/upload-artifact@v3
2525
with:
2626
name: framework
2727
path: |
@@ -32,7 +32,7 @@ jobs:
3232
runs-on: macos-latest
3333
steps:
3434
- name: Check out code
35-
uses: actions/checkout@v2
35+
uses: actions/checkout@v3
3636
- name: Build xcframework
3737
working-directory: carthage-files
3838
run: |
@@ -42,7 +42,7 @@ jobs:
4242
echo '#checksum for Branch_noidfa.zip on Github' > checksum_noidfa
4343
shasum Branch_noidfa.zip >> checksum_noidfa
4444
- name: Upload build artifacts
45-
uses: actions/upload-artifact@v2
45+
uses: actions/upload-artifact@v3
4646
with:
4747
name: framework-noidfa
4848
path: |
@@ -53,7 +53,7 @@ jobs:
5353
runs-on: macos-latest
5454
steps:
5555
- name: Check out code
56-
uses: actions/checkout@v2
56+
uses: actions/checkout@v3
5757
- name: Build static xcframework
5858
working-directory: carthage-files
5959
run: |
@@ -63,7 +63,7 @@ jobs:
6363
echo '#checksum for Branch_static.zip on Github' > checksum_static
6464
shasum Branch_static.zip >> checksum_static
6565
- name: Upload build artifacts
66-
uses: actions/upload-artifact@v2
66+
uses: actions/upload-artifact@v3
6767
with:
6868
name: static-framework
6969
path: |
@@ -74,7 +74,7 @@ jobs:
7474
runs-on: macos-latest
7575
steps:
7676
- name: Check out code
77-
uses: actions/checkout@v2
77+
uses: actions/checkout@v3
7878
- name: Build static xcframework
7979
working-directory: carthage-files
8080
run: |
@@ -84,7 +84,7 @@ jobs:
8484
echo '#checksum for Branch_static_noidfa.zip on Github' > checksum_static_noidfa
8585
shasum Branch_static_noidfa.zip >> checksum_static_noidfa
8686
- name: Upload build artifacts
87-
uses: actions/upload-artifact@v2
87+
uses: actions/upload-artifact@v3
8888
with:
8989
name: static-framework-noidfa
9090
path: |
@@ -96,7 +96,7 @@ jobs:
9696
needs: [build, build-static]
9797
steps:
9898
- name: Check out code
99-
uses: actions/checkout@v2
99+
uses: actions/checkout@v3
100100
- name: Set up Ruby 2.7
101101
uses: ruby/setup-ruby@v1
102102
with:
@@ -106,7 +106,7 @@ jobs:
106106
# Bring in the Ruby deps from the cache for quick availability of
107107
# pod command. Not using cached Pods folder.
108108
- name: Restore cache
109-
uses: actions/cache@v2
109+
uses: actions/cache@v3
110110
with:
111111
path: |
112112
vendor
@@ -133,7 +133,7 @@ jobs:
133133
git config user.name "Branch SDK Team"
134134
git config user.email [email protected]
135135
git commit carthage-files/checksum carthage-files/checksum_noidfa carthage-files/checksum_static carthage-files/checksum_static_noidfa -m'Updated checksums'
136-
echo "::set-output name=sha::$(git rev-parse HEAD)"
136+
echo "sha=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT
137137
# TODO: Version bump along the way, probably here.
138138
- name: Push changes
139139
run: |
@@ -149,7 +149,7 @@ jobs:
149149
run: |
150150
bundle exec fastlane current_version
151151
echo "Current version is $(cat fastlane/.version)."
152-
echo "::set-output name=version::$(cat fastlane/.version)"
152+
echo "version=$(cat fastlane/.version)" >> $GITHUB_OUTPUT
153153
- name: Create GitHub Release
154154
uses: actions/github-script@v4
155155
with:

.github/workflows/verify.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ jobs:
1010
runs-on: macos-latest
1111
steps:
1212
- name: Check out code
13-
uses: actions/checkout@v2
13+
uses: actions/checkout@v3
1414
- name: Set up Ruby 2.7
1515
uses: ruby/setup-ruby@v1
1616
with:
1717
ruby-version: '2.7'
1818
- name: Restore cache
19-
uses: actions/cache@v2
19+
uses: actions/cache@v3
2020
with:
2121
path: |
2222
vendor
@@ -36,7 +36,7 @@ jobs:
3636
- name: Run unit tests
3737
run: bundle exec fastlane unit_tests
3838
- name: Upload test results
39-
uses: actions/upload-artifact@v2
39+
uses: actions/upload-artifact@v3
4040
if: always() # even if tests fail
4141
with:
4242
name: test-results

.github/workflows/version-bump.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ jobs:
1515
runs-on: macos-latest
1616
steps:
1717
- name: Check out code
18-
uses: actions/checkout@v2
18+
uses: actions/checkout@v3
1919
- name: Set up Ruby 2.7
2020
uses: ruby/setup-ruby@v1
2121
with:
2222
ruby-version: '2.7'
2323
- name: Restore cache
24-
uses: actions/cache@v2
24+
uses: actions/cache@v3
2525
with:
2626
path: |
2727
vendor

0 commit comments

Comments
 (0)