Skip to content

Commit

Permalink
Archive artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
VioletXF committed Jul 26, 2023
1 parent 041b3b8 commit aa9be5f
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit aa9be5f

Please sign in to comment.