Skip to content

Commit

Permalink
fix: Comment the android release
Browse files Browse the repository at this point in the history
  • Loading branch information
jonas-martinez committed Aug 21, 2023
1 parent b2a2f4a commit 7df92ee
Showing 1 changed file with 36 additions and 35 deletions.
71 changes: 36 additions & 35 deletions .github/workflows/semantic-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,44 +34,45 @@ jobs:
new-release-published: ${{ steps.get-next-version.outputs.new-release-published }}
new-release-version: ${{ steps.get-next-version.outputs.new-release-version }}

android_build:
name: Android Build
needs: [get-next-version]
runs-on: ubuntu-latest
env:
VERSION: ${{ needs.get-next-version.outputs.new-release-version }}
timeout-minutes: 10
if: ${{ needs.get-next-version.outputs.new-release-published }}
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: webfactory/[email protected]
with:
ssh-private-key: |
${{ secrets.LENRA_UI_RUNNER_SSH }}
${{ secrets.LENRA_COMPONENTS_SSH }}
${{ secrets.CLIENT_COMMON_SSH }}
${{ secrets.CLIENT_APP_SSH }}
- name: Install Flutter & Dependencies
uses: subosito/[email protected]
with:
flutter-version: ${{ env.flutter_version }}
- name: Setup yq
id: setup-yq
uses: shiipou/setup-yq-action@stable
- name: Update pubspec version
run: yq -i ".version = \"${{ env.VERSION }}\"" pubspec.yaml
- name: Flutter Build APK
run: flutter build apk --no-tree-shake-icons --dart-define=LENRA_SERVER_URL=https://api.lenra.io
- name: Upload APK artifact
uses: actions/upload-artifact@v2
with:
name: app-release
path: build/app/outputs/flutter-apk/app-release.apk
# android_build:
# name: Android Build
# needs: [get-next-version]
# runs-on: ubuntu-latest
# env:
# VERSION: ${{ needs.get-next-version.outputs.new-release-version }}
# timeout-minutes: 10
# if: ${{ needs.get-next-version.outputs.new-release-published }}
# steps:
# - name: Checkout
# uses: actions/checkout@v2
# - uses: webfactory/[email protected]
# with:
# ssh-private-key: |
# ${{ secrets.LENRA_UI_RUNNER_SSH }}
# ${{ secrets.LENRA_COMPONENTS_SSH }}
# ${{ secrets.CLIENT_COMMON_SSH }}
# ${{ secrets.CLIENT_APP_SSH }}
# - name: Install Flutter & Dependencies
# uses: subosito/[email protected]
# with:
# flutter-version: ${{ env.flutter_version }}
# - name: Setup yq
# id: setup-yq
# uses: shiipou/setup-yq-action@stable
# - name: Update pubspec version
# run: yq -i ".version = \"${{ env.VERSION }}\"" pubspec.yaml
# - name: Flutter Build APK
# run: flutter build apk --no-tree-shake-icons --dart-define=LENRA_SERVER_URL=https://api.lenra.io
# - name: Upload APK artifact
# uses: actions/upload-artifact@v2
# with:
# name: app-release
# path: build/app/outputs/flutter-apk/app-release.apk

release:
name: Release
needs: [android_build]
# needs: [android_build]
needs: [get-next-version]
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
Expand Down

0 comments on commit 7df92ee

Please sign in to comment.