Skip to content
This repository has been archived by the owner on Oct 26, 2024. It is now read-only.

Commit

Permalink
ci: update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
kjxbyz committed Feb 7, 2024
1 parent 17106e1 commit 2b4e3de
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 30 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/release-github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,16 +100,6 @@ jobs:
VERSION: ${{ github.event.inputs.version }}
GH_TOKEN: ${{ secrets.CYF_RELEASE_TOKEN }}

cleanup_ios:
name: Clean up (ios)
if: ${{ always() }}
runs-on: self-hosted
needs:
- internal_ios
- external_ios
steps:
- run: rm -f ~/Library/MobileDevice/Provisioning\ Profiles/*.mobileprovision

internal_apk:
name: Create apk (internal)
runs-on: self-hosted
Expand Down Expand Up @@ -601,6 +591,7 @@ jobs:
echo "$RUNNER_TEMP/app-signing.keychain-db"
security delete-keychain $RUNNER_TEMP/app-signing.keychain-db
fi
rm -f ~/Library/MobileDevice/Provisioning\ Profiles/*.mobileprovision
rm -f .env
external_ios:
Expand Down Expand Up @@ -746,4 +737,5 @@ jobs:
echo "$RUNNER_TEMP/app-signing.keychain-db"
security delete-keychain $RUNNER_TEMP/app-signing.keychain-db
fi
rm -f ~/Library/MobileDevice/Provisioning\ Profiles/*.mobileprovision
rm -f .env
12 changes: 2 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,6 @@ jobs:
- name: Check outputs
run: echo ${{ steps.timestamp_step.outputs.timestamp }}

cleanup_ios:
name: Clean up (ios)
if: ${{ always() }}
runs-on: self-hosted
needs:
- internal_ios
- external_ios
steps:
- run: rm -f ~/Library/MobileDevice/Provisioning\ Profiles/*.mobileprovision

internal_latest_commits:
name: Gen latest 10 commits (internal)
if: ${{ !cancelled() && !failure() }}
Expand Down Expand Up @@ -668,6 +658,7 @@ jobs:
echo "$RUNNER_TEMP/app-signing.keychain-db"
security delete-keychain $RUNNER_TEMP/app-signing.keychain-db
fi
rm -f ~/Library/MobileDevice/Provisioning\ Profiles/*.mobileprovision
rm -f .env
external_ios:
Expand Down Expand Up @@ -819,4 +810,5 @@ jobs:
echo "$RUNNER_TEMP/app-signing.keychain-db"
security delete-keychain $RUNNER_TEMP/app-signing.keychain-db
fi
rm -f ~/Library/MobileDevice/Provisioning\ Profiles/*.mobileprovision
rm -f .env
12 changes: 2 additions & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,6 @@ on:
permissions: read-all

jobs:
cleanup_ios:
name: Clean up (ios)
if: ${{ always() }}
runs-on: self-hosted
needs:
- internal_ios
- external_ios
steps:
- run: rm -f ~/Library/MobileDevice/Provisioning\ Profiles/*.mobileprovision

internal_apk:
name: Create apk (internal)
runs-on: self-hosted
Expand Down Expand Up @@ -349,6 +339,7 @@ jobs:
echo "$RUNNER_TEMP/app-signing.keychain-db"
security delete-keychain $RUNNER_TEMP/app-signing.keychain-db
fi
rm -f ~/Library/MobileDevice/Provisioning\ Profiles/*.mobileprovision
rm -f .env
external_ios:
Expand Down Expand Up @@ -450,4 +441,5 @@ jobs:
echo "$RUNNER_TEMP/app-signing.keychain-db"
security delete-keychain $RUNNER_TEMP/app-signing.keychain-db
fi
rm -f ~/Library/MobileDevice/Provisioning\ Profiles/*.mobileprovision
rm -f .env

0 comments on commit 2b4e3de

Please sign in to comment.