From 7da116316155dc4455acc385c74b6f0c3dff5874 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=CC=8Cimon=20S=CC=8Cesta=CC=81k?= Date: Fri, 1 Mar 2024 08:02:52 +0100 Subject: [PATCH 1/4] Update checkout version --- .github/workflows/ios-cloud-build.yml | 2 +- .github/workflows/ios-cloud-release.yml | 2 +- .github/workflows/ios-cloud-test.yml | 2 +- .github/workflows/ios-selfhosted-build.yml | 2 +- .github/workflows/ios-selfhosted-release.yml | 2 +- .github/workflows/ios-selfhosted-test.yml | 2 +- .github/workflows/universal-cloud-backup.yml | 2 +- .github/workflows/universal-selfhosted-backup.yml | 2 +- .github/workflows/workflows-lint.yml | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ios-cloud-build.yml b/.github/workflows/ios-cloud-build.yml index 1be2af7..f017423 100644 --- a/.github/workflows/ios-cloud-build.yml +++ b/.github/workflows/ios-cloud-build.yml @@ -29,7 +29,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: lfs: ${{ inputs.use_git_lfs }} - name: Setup SSH key diff --git a/.github/workflows/ios-cloud-release.yml b/.github/workflows/ios-cloud-release.yml index c2c15a7..74ad329 100644 --- a/.github/workflows/ios-cloud-release.yml +++ b/.github/workflows/ios-cloud-release.yml @@ -30,7 +30,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: lfs: ${{ inputs.use_git_lfs }} - name: Setup SSH key diff --git a/.github/workflows/ios-cloud-test.yml b/.github/workflows/ios-cloud-test.yml index 0974908..b4c759c 100644 --- a/.github/workflows/ios-cloud-test.yml +++ b/.github/workflows/ios-cloud-test.yml @@ -26,7 +26,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: lfs: ${{ inputs.use_git_lfs }} fetch-depth: 0 diff --git a/.github/workflows/ios-selfhosted-build.yml b/.github/workflows/ios-selfhosted-build.yml index aadd7bf..c26a2a7 100644 --- a/.github/workflows/ios-selfhosted-build.yml +++ b/.github/workflows/ios-selfhosted-build.yml @@ -24,7 +24,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: lfs: ${{ inputs.use_git_lfs }} - name: Fastlane Enterprise diff --git a/.github/workflows/ios-selfhosted-release.yml b/.github/workflows/ios-selfhosted-release.yml index 9a0b8ea..2e2c09b 100644 --- a/.github/workflows/ios-selfhosted-release.yml +++ b/.github/workflows/ios-selfhosted-release.yml @@ -25,7 +25,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: lfs: ${{ inputs.use_git_lfs }} - name: Fastlane Beta diff --git a/.github/workflows/ios-selfhosted-test.yml b/.github/workflows/ios-selfhosted-test.yml index 658535f..7efac6c 100644 --- a/.github/workflows/ios-selfhosted-test.yml +++ b/.github/workflows/ios-selfhosted-test.yml @@ -20,7 +20,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: lfs: ${{ inputs.use_git_lfs }} fetch-depth: 0 diff --git a/.github/workflows/universal-cloud-backup.yml b/.github/workflows/universal-cloud-backup.yml index 626c83f..fc9353c 100644 --- a/.github/workflows/universal-cloud-backup.yml +++ b/.github/workflows/universal-cloud-backup.yml @@ -31,7 +31,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: lfs: ${{ inputs.use_git_lfs }} fetch-depth: 0 # Make deep copy diff --git a/.github/workflows/universal-selfhosted-backup.yml b/.github/workflows/universal-selfhosted-backup.yml index 1863ae9..8001751 100644 --- a/.github/workflows/universal-selfhosted-backup.yml +++ b/.github/workflows/universal-selfhosted-backup.yml @@ -35,7 +35,7 @@ jobs: - name: Clean temp run : rm -f /tmp/ssh-auth.sock - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: lfs: ${{ inputs.use_git_lfs }} fetch-depth: 0 # Make deep copy diff --git a/.github/workflows/workflows-lint.yml b/.github/workflows/workflows-lint.yml index b700893..27a85b3 100644 --- a/.github/workflows/workflows-lint.yml +++ b/.github/workflows/workflows-lint.yml @@ -8,7 +8,7 @@ jobs: timeout-minutes: 30 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Download actionlint id: get_actionlint run: bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash) From 409da562554df9853f077d56a5147e0af7581078 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=CC=8Cimon=20S=CC=8Cesta=CC=81k?= Date: Fri, 1 Mar 2024 08:09:25 +0100 Subject: [PATCH 2/4] Update ssh agent version --- .github/workflows/ios-cloud-build.yml | 2 +- .github/workflows/ios-cloud-release.yml | 2 +- .github/workflows/ios-cloud-test.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ios-cloud-build.yml b/.github/workflows/ios-cloud-build.yml index f017423..8babfcc 100644 --- a/.github/workflows/ios-cloud-build.yml +++ b/.github/workflows/ios-cloud-build.yml @@ -33,7 +33,7 @@ jobs: with: lfs: ${{ inputs.use_git_lfs }} - name: Setup SSH key - uses: webfactory/ssh-agent@v0.4.1 + uses: webfactory/ssh-agent@v0.8.0 with: ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} - name: Setup Ruby diff --git a/.github/workflows/ios-cloud-release.yml b/.github/workflows/ios-cloud-release.yml index 74ad329..7ea7b3e 100644 --- a/.github/workflows/ios-cloud-release.yml +++ b/.github/workflows/ios-cloud-release.yml @@ -34,7 +34,7 @@ jobs: with: lfs: ${{ inputs.use_git_lfs }} - name: Setup SSH key - uses: webfactory/ssh-agent@v0.4.1 + uses: webfactory/ssh-agent@v0.8.0 with: ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} - name: Setup Ruby diff --git a/.github/workflows/ios-cloud-test.yml b/.github/workflows/ios-cloud-test.yml index b4c759c..71eae0a 100644 --- a/.github/workflows/ios-cloud-test.yml +++ b/.github/workflows/ios-cloud-test.yml @@ -31,7 +31,7 @@ jobs: lfs: ${{ inputs.use_git_lfs }} fetch-depth: 0 - name: Setup SSH key - uses: webfactory/ssh-agent@v0.4.1 + uses: webfactory/ssh-agent@v0.8.0 with: ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} - name: Setup Ruby From b240fed35dfb2795f01cbd1eeb90ea00e0f515dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=CC=8Cimon=20S=CC=8Cesta=CC=81k?= Date: Fri, 1 Mar 2024 08:10:08 +0100 Subject: [PATCH 3/4] Update upload artifact version --- .github/workflows/ios-cloud-build.yml | 4 ++-- .github/workflows/ios-cloud-release.yml | 4 ++-- .github/workflows/ios-selfhosted-build.yml | 7 ++----- .github/workflows/ios-selfhosted-release.yml | 7 ++----- 4 files changed, 8 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ios-cloud-build.yml b/.github/workflows/ios-cloud-build.yml index 8babfcc..17f3020 100644 --- a/.github/workflows/ios-cloud-build.yml +++ b/.github/workflows/ios-cloud-build.yml @@ -49,12 +49,12 @@ jobs: MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }} APPCENTER_API_TOKEN: ${{ secrets.APPCENTER_API_TOKEN }} - name: Upload IPA - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Build.ipa path: build_output/*.ipa - name: Upload dSYM - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Build.app.dSYM.zip path: build_output/*.app.dSYM.zip diff --git a/.github/workflows/ios-cloud-release.yml b/.github/workflows/ios-cloud-release.yml index 7ea7b3e..c83daa8 100644 --- a/.github/workflows/ios-cloud-release.yml +++ b/.github/workflows/ios-cloud-release.yml @@ -50,12 +50,12 @@ jobs: APP_STORE_CONNECT_API_KEY_KEY: ${{ secrets.APP_STORE_CONNECT_API_KEY_KEY }} MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }} - name: Upload IPA - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Build.ipa path: build_output/*.ipa - name: Upload dSYM - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Build.app.dSYM.zip path: build_output/*.app.dSYM.zip diff --git a/.github/workflows/ios-selfhosted-build.yml b/.github/workflows/ios-selfhosted-build.yml index c26a2a7..64214a8 100644 --- a/.github/workflows/ios-selfhosted-build.yml +++ b/.github/workflows/ios-selfhosted-build.yml @@ -36,15 +36,12 @@ jobs: MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }} APPCENTER_API_TOKEN: ${{ secrets.APPCENTER_API_TOKEN }} - name: Upload IPA - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Build.ipa path: build_output/*.ipa - name: Upload dSYM - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Build.app.dSYM.zip path: build_output/*.app.dSYM.zip - - name: Clear Archives - run: | - rm -rf ~/Library/Developer/Xcode/Archives diff --git a/.github/workflows/ios-selfhosted-release.yml b/.github/workflows/ios-selfhosted-release.yml index 2e2c09b..9cd1b57 100644 --- a/.github/workflows/ios-selfhosted-release.yml +++ b/.github/workflows/ios-selfhosted-release.yml @@ -37,15 +37,12 @@ jobs: APP_STORE_CONNECT_API_KEY_KEY: ${{ secrets.APP_STORE_CONNECT_API_KEY_KEY }} MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }} - name: Upload IPA - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Build.ipa path: build_output/*.ipa - name: Upload dSYM - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Build.app.dSYM.zip path: build_output/*.app.dSYM.zip - - name: Clear Archives - run: | - rm -rf ~/Library/Developer/Xcode/Archives From 932617ea08a12e28c96b0a0b42f3a91151d29aa2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=CC=8Cimon=20S=CC=8Cesta=CC=81k?= Date: Fri, 1 Mar 2024 08:10:22 +0100 Subject: [PATCH 4/4] Update ruby version --- .github/workflows/ios-cloud-build.yml | 2 +- .github/workflows/ios-cloud-release.yml | 2 +- .github/workflows/ios-cloud-test.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ios-cloud-build.yml b/.github/workflows/ios-cloud-build.yml index 17f3020..ce50112 100644 --- a/.github/workflows/ios-cloud-build.yml +++ b/.github/workflows/ios-cloud-build.yml @@ -39,7 +39,7 @@ jobs: - name: Setup Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: 2.7 + ruby-version: 3.2.2 bundler-cache: true - name: Fastlane Enterprise run: | diff --git a/.github/workflows/ios-cloud-release.yml b/.github/workflows/ios-cloud-release.yml index c83daa8..c7fd2ed 100644 --- a/.github/workflows/ios-cloud-release.yml +++ b/.github/workflows/ios-cloud-release.yml @@ -40,7 +40,7 @@ jobs: - name: Setup Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: 2.7 + ruby-version: 3.2.2 bundler-cache: true - name: Fastlane Beta run: | diff --git a/.github/workflows/ios-cloud-test.yml b/.github/workflows/ios-cloud-test.yml index 71eae0a..d9d83d4 100644 --- a/.github/workflows/ios-cloud-test.yml +++ b/.github/workflows/ios-cloud-test.yml @@ -37,7 +37,7 @@ jobs: - name: Setup Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: 2.7 + ruby-version: 3.2.2 bundler-cache: true - name: Fastlane Test run: |