Skip to content

Commit

Permalink
chore: Commenter les commandes de création de clé et d'importation de…
Browse files Browse the repository at this point in the history
… certificat
  • Loading branch information
lsaudon committed Jul 4, 2024
1 parent 47a314e commit c88629d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/example_cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,22 @@ jobs:
steps:
- name: 📚 Git checkout
uses: actions/checkout@v4
- name: 🐦 Install flutter
uses: subosito/flutter-action@v2
with:
cache: true
channel: stable
flutter-version: ${{ env.FLUTTER_VERSION }}
- name: 🗒️🔏 Ajouter le certificat de signature
run: |
password=$(cat /dev/urandom | LC_ALL=C tr -dc 'a-zA-Z0-9' | fold -w 50 | head -n 1)
security create-keychain -p "$password" temp.keychain
keychainPassword=$(openssl rand -base64 50)
security create-keychain -p "$keychainPassword" temp.keychain
security set-keychain-settings -lut 21600 temp.keychain
security unlock-keychain -p "$password" temp.keychain
security unlock-keychain -p "$keychainPassword" temp.keychain
echo "${{ secrets.DEV_IOS_P12_FILE }}" | base64 --decode -o certificat.p12
security import certificat.p12 -P "${{ secrets.DEV_IOS_P12_PASSWORD }}" -A -t cert -f pkcs12 -k temp.keychain
security list-keychain -d user -s temp.keychain
- name: 🐦 Install flutter
uses: subosito/flutter-action@v2
- name: 🧱 Construire l'application
run: |
flutter config --no-cli-animations
Expand Down

0 comments on commit c88629d

Please sign in to comment.