From aa9be5f9715140c74341c57f88ad7dbe202c8261 Mon Sep 17 00:00:00 2001 From: VioletXF Date: Thu, 27 Jul 2023 04:33:30 +0900 Subject: [PATCH] Archive artifact --- .github/workflows/release.yml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c60eed9..04f274e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,12 +3,12 @@ name: Build and Generate IPA on: push: branches: - - main + - chore/improve-ci-cd jobs: buildForAllSupportedPlatforms: name: Build for ${{ matrix.targetPlatform }} - runs-on: ubuntu-latest + runs-on: macos-13 strategy: fail-fast: false matrix: @@ -31,10 +31,13 @@ jobs: UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }} with: targetPlatform: ${{ matrix.targetPlatform }} + - name: Archive before upload + run: | + tar -czvf iOS.tar.gz build/iOS - uses: actions/upload-artifact@v3 with: name: Build-${{ matrix.targetPlatform }} - path: build/${{ matrix.targetPlatform }} + path: iOS.tar.gz generateIPA: needs: buildForAllSupportedPlatforms name: Generate IPA @@ -43,9 +46,14 @@ jobs: - uses: actions/download-artifact@v2 with: name: Build-iOS - path: build/iOS + - name: Unzip iOS.tar.gz + run: | + ls + pwd + tar -xzvf iOS.tar.gz - name: Generate IPA File run: | + ls cd build/iOS/iOS mkdir archive xcversion select 14.3.1