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 : |
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 : |
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 : |
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 : |
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 : |
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 : |
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 : |
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 : |
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 :
0 commit comments