Skip to content

Commit

Permalink
chore: refactor workflow files
Browse files Browse the repository at this point in the history
* formatting consistency changes
* clearer step titles
  • Loading branch information
erdemyerebasmaz committed Sep 29, 2024
1 parent 6bddb3a commit f30ac5d
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
runs-on: macOS-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: 🏗️ Setup l-breez repository
- name: 🏗️ Check-out l-breez repository
uses: actions/checkout@v4
with:
path: 'lbreez'
Expand All @@ -39,7 +39,7 @@ jobs:
uses: actions/checkout@v4
with:
repository: 'breez/breez-sdk-liquid'
ssh-key: ${{secrets.REPO_SSH_KEY}}
ssh-key: ${{ secrets.REPO_SSH_KEY }}
path: 'breez-sdk-liquid'
ref: ${{ inputs.liquid_sdk_ref }}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ jobs:
df -hI
echo "::endgroup::"
- name: 🏗️ Setup l-breez repository
- name: 🏗️ Check-out l-breez repository
uses: actions/checkout@v4
with:
path: 'lbreez'
Expand Down Expand Up @@ -309,7 +309,7 @@ jobs:
name: Android-APK
path: lbreez/build/app/outputs/flutter-apk/app-*.apk

- name: Remove Google Application Credentials file
- name: Cleanup Google Application Credentials
if: success() || failure()
run: |
if [ -d "lbreez" ] && [ -f "lbreez/google-application-credentials.json" ]; then
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/build-ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,13 @@ jobs:
env:
SCHEME: Runner
BUILD_CONFIGURATION: Release
TESTFLIGHT_USERNAME: ${{secrets.TESTFLIGHT_USERNAME}}
TESTFLIGHT_PASSWORD: ${{secrets.TESTFLIGHT_PASSWORD}}
TESTFLIGHT_USERNAME: ${{ secrets.TESTFLIGHT_USERNAME }}
TESTFLIGHT_PASSWORD: ${{ secrets.TESTFLIGHT_PASSWORD }}
IOS_VERSION_STRING: 0.1.0
DISTRIBUTION_CERT: ${{secrets.DISTRIBUTION_CERT}}
P12_BASE64: ${{secrets.P12_BASE64}}
P12_PASSWORD: ${{secrets.P12_PASSWORD}}
GOOGLE_SERVICES_IOS: ${{secrets.GOOGLE_SERVICES_IOS}}
DISTRIBUTION_CERT: ${{ secrets.DISTRIBUTION_CERT }}
P12_BASE64: ${{ secrets.P12_BASE64 }}
P12_PASSWORD: ${{ secrets.P12_PASSWORD }}
GOOGLE_SERVICES_IOS: ${{ secrets.GOOGLE_SERVICES_IOS }}
FIREBASE_PROJECT: breez-technology
FIREBASE_ANDROID_PACKAGE_NAME: com.breez.liquid.l_breez
FIREBASE_IOS_BUNDLE_ID: com.breez.liquid.lBreez
Expand All @@ -119,7 +119,7 @@ jobs:
df -hI
echo "::endgroup::"
- name: 🏗️ Setup l-breez repository
- name: 🏗️ Check-out l-breez repository
uses: actions/checkout@v4
with:
path: 'lbreez'
Expand Down Expand Up @@ -210,7 +210,7 @@ jobs:
uses: actions/checkout@v4
with:
repository: 'breez/breez-sdk-liquid'
ssh-key: ${{secrets.REPO_SSH_KEY}}
ssh-key: ${{ secrets.REPO_SSH_KEY }}
path: 'breez-sdk-liquid'
ref: ${{ needs.setup.outputs.liquid-sdk-ref }}

Expand Down Expand Up @@ -241,7 +241,7 @@ jobs:

- name: 🔒 Install SSH Key
env:
SSH_PRIVATE_KEY: ${{secrets.REPO_SSH_KEY}}
SSH_PRIVATE_KEY: ${{ secrets.REPO_SSH_KEY }}
run: |
mkdir -p ~/.ssh
echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa
Expand Down Expand Up @@ -279,7 +279,7 @@ jobs:

- name: ⚙️ Setup compile-time variables
env:
CONFIG_FILE: ${{secrets.CONFIG_FILE}}
CONFIG_FILE: ${{ secrets.CONFIG_FILE }}
run: echo "$CONFIG_FILE" > ./lbreez/config.json

- name: 📝 Install the Provisioning Profile
Expand Down Expand Up @@ -404,7 +404,7 @@ jobs:
ipa="$PWD/lbreez/build-output/ios/l_breez.ipa"
"$altool" --upload-app --type ios --file "$ipa" --username $TESTFLIGHT_USERNAME --password $TESTFLIGHT_PASSWORD
- name: Remove Google Application Credentials file
- name: Cleanup Google Application Credentials
if: success() || failure()
run: |
if [ -d "lbreez" ] && [ -f "lbreez/google-application-credentials.json" ]; then
Expand Down

0 comments on commit f30ac5d

Please sign in to comment.