Skip to content

Commit

Permalink
stopped ci cd build
Browse files Browse the repository at this point in the history
  • Loading branch information
quiet-programmer committed Feb 22, 2024
1 parent 4a15a79 commit c347f46
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 30 deletions.
60 changes: 30 additions & 30 deletions .github/workflows/split_apk.yml
@@ -1,30 +1,30 @@
name: Build V Notes Android APK
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
name: Build APK's
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: '12.x'
- uses: subosito/flutter-action@v1.5.3
with:
channel: "stable"
- run: flutter pub get
- run: flutter pub outdated
- run: flutter pub upgrade
- run: flutter build apk --release
- uses: ncipollo/release-action@v1
with:
artifacts: 'build/app/outputs/flutter-apk/app-release.apk'
token: ${{ secrets.GITHUB_TOKEN }}
commit: master
tag: v1.0.${{ github.run_number }}
#name: Build V Notes Android APK
#on:
# push:
# branches:
# - master
# pull_request:
# branches:
# - master
#jobs:
# build:
# name: Build APK's
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - uses: actions/setup-java@v1
# with:
# java-version: '12.x'
# - uses: subosito/flutter-action@v1.5.3
# with:
# channel: "stable"
# - run: flutter pub get
# - run: flutter pub outdated
# - run: flutter pub upgrade
# - run: flutter build apk --release
# - uses: ncipollo/release-action@v1
# with:
# artifacts: 'build/app/outputs/flutter-apk/app-release.apk'
# token: ${{ secrets.GITHUB_TOKEN }}
# commit: master
# tag: v1.0.${{ github.run_number }}
2 changes: 2 additions & 0 deletions pubspec.yaml
Expand Up @@ -58,6 +58,8 @@ flutter:
# The following line ensures that the Material Icons font is
# included with your application, so that you can use the icons in
# the material Icons class.
assets:
- shorebird.yaml
uses-material-design: true
# To add assets to your application, add an assets section, like this:
# assets:
Expand Down
14 changes: 14 additions & 0 deletions shorebird.yaml
@@ -0,0 +1,14 @@
# This file is used to configure the Shorebird updater used by your app.
# Learn more at https://docs.shorebird.dev
# This file should be checked into version control.

# This is the unique identifier assigned to your app.
# Your app_id is not a secret and is just used to identify your app
# when requesting patches from Shorebird's servers.
app_id: 02f3cd98-f488-4ec4-bbe3-f722d9131537

# auto_update controls if Shorebird should automatically update in the background on launch.
# If auto_update: false, you will need to use package:shorebird_code_push to trigger updates.
# https://pub.dev/packages/shorebird_code_push
# Uncomment the following line to disable automatic updates.
# auto_update: false

0 comments on commit c347f46

Please sign in to comment.