Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
3003h committed Mar 19, 2024
1 parent e859b60 commit f5639af
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 294 deletions.
72 changes: 0 additions & 72 deletions .github/workflows/build_apk.yml

This file was deleted.

58 changes: 0 additions & 58 deletions .github/workflows/build_ios.yml

This file was deleted.

49 changes: 0 additions & 49 deletions .github/workflows/build_mac.yml

This file was deleted.

58 changes: 0 additions & 58 deletions .github/workflows/build_win.yml

This file was deleted.

34 changes: 0 additions & 34 deletions .github/workflows/post_release.yml

This file was deleted.

46 changes: 23 additions & 23 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,20 +35,20 @@ jobs:
artifact_name: release-apk
artifact_path: build/app/outputs/apk/release/Eros-FE*.apk
- target: ios
os: macos-12
os: macos-latest
flutter_version: "3.x"
flutter_channel: stable
artifact_name: release-ios
artifact_path: build/**/Eros-FE*.ipa
- target: ios
suffix: -impeller
os: macos-12
os: macos-latest
flutter_version: "3.x"
flutter_channel: stable
artifact_name: release-ios-impeller
artifact_path: build/**/Eros-FE*.ipa
- target: macos
os: macos-12
os: macos-latest
flutter_version: "3.x"
flutter_channel: stable
artifact_name: release-mac
Expand Down Expand Up @@ -78,29 +78,29 @@ jobs:
- name: show version
run: echo ${{ env.app_version }}

- name: Cache Pods (build macos)
uses: actions/cache@v3
if: matrix.target == 'macos'
with:
path: |
macos/Pods
key: ${{ runner.os }}-pods-${{ hashFiles('macos/Podfile.lock') }}
restore-keys: |
${{ runner.os }}-pods-
- name: Cache Pods (build ios)
uses: actions/cache@v3
if: matrix.target == 'ios'
with:
path: |
ios/Pods
key: ${{ runner.os }}-pods-${{ hashFiles('ios/Podfile.lock') }}
restore-keys: |
${{ runner.os }}-pods-
# - name: Cache Pods (build macos)
# uses: actions/cache@v3
# if: matrix.target == 'macos'
# with:
# path: |
# macos/Pods
# key: ${{ runner.os }}-pods-${{ hashFiles('macos/Podfile.lock') }}
# restore-keys: |
# ${{ runner.os }}-pods-

# - name: Cache Pods (build ios)
# uses: actions/cache@v3
# if: matrix.target == 'ios'
# with:
# path: |
# ios/Pods
# key: ${{ runner.os }}-pods-${{ hashFiles('ios/Podfile.lock') }}
# restore-keys: |
# ${{ runner.os }}-pods-

# git-crypt unlock
- name: Unlock secrets (MacOS)
if: matrix.os == 'macos-12'
if: matrix.os == 'macos-latest'
run: |
brew install git-crypt
echo $GIT_CRYPT_KEY | base64 -d -o grypt.key
Expand Down

0 comments on commit f5639af

Please sign in to comment.