-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
88 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,63 +1,68 @@ | ||
# # on: | ||
# # pull_request: | ||
# # types: [closed] | ||
# # push: | ||
# # branches: | ||
# # - get-master | ||
# on: | ||
# pull_request: | ||
# types: [closed] | ||
# push: | ||
# pull_request_target: | ||
# branches: | ||
# - get-master | ||
on: | ||
pull_request_target: | ||
branches: | ||
- main | ||
types: | ||
- closed | ||
tags: | ||
- v* | ||
# - main | ||
# types: | ||
# - closed | ||
# tags: | ||
# - v* | ||
|
||
name: "Build & Release" | ||
# name: "Build & Release" | ||
|
||
jobs: | ||
if_merged: | ||
if: github.event.pull_request.merged == true | ||
name: Build & Release | ||
runs-on: ubuntu-latest | ||
env: | ||
JAVA_VERSION: "11.0" | ||
FLUTTER_VERSION: "3.0.4" | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-java@v1 | ||
with: | ||
java-version: ${{env.JAVA_VERSION}} | ||
- uses: subosito/flutter-action@v2 | ||
with: | ||
flutter-version: ${{env.FLUTTER_VERSION}} | ||
- run: flutter pub get | ||
- run: flutter analyze | ||
- run: flutter build apk --release | ||
- run: flutter build apk --split-per-abi --release | ||
- run: flutter build web --release --base-href="/AniList-jsr/" | ||
- name: Push to Releases | ||
uses: ncipollo/release-action@v1 | ||
with: | ||
artifacts: "build/app/outputs/flutter-apk/*.apk" | ||
tag: v0.0.${{ github.run_number }}-b1 | ||
token: ${{ secrets.TOKEN }} | ||
# - name: Build Web | ||
# run: | | ||
# cd build/web | ||
# git init -b origin | ||
# git config --global user.email [email protected] | ||
# git config --global user.name joaojsrbr | ||
# git status | ||
# git remote add origin https://${{secrets.TOKEN}}@github.com/joaojsrbr/AniList-jsr.git | ||
# git checkout -b gh-pages | ||
# # git pull origin gh-pages | ||
# git add . | ||
# git commit -m "update" | ||
# git push origin gh-pages -f | ||
# - name: Telegram<apk> | ||
# uses: appleboy/telegram-action@master | ||
# with: | ||
# to: ${{ secrets.TELEGRAM_TO }} | ||
# token: ${{ secrets.TELEGRAM_TOKEN }} | ||
# document: build/app/outputs/flutter-apk/*.apk | ||
# jobs: | ||
# if_merged: | ||
# if: github.event.pull_request.merged == true | ||
# name: Build & Release | ||
# runs-on: ubuntu-latest | ||
# env: | ||
# JAVA_VERSION: "11.0" | ||
# FLUTTER_VERSION: "3.0.4" | ||
# steps: | ||
# - uses: actions/checkout@v2 | ||
# - uses: actions/setup-java@v1 | ||
# with: | ||
# java-version: ${{env.JAVA_VERSION}} | ||
# - uses: subosito/flutter-action@v2 | ||
# with: | ||
# flutter-version: ${{env.FLUTTER_VERSION}} | ||
# - run: flutter pub get | ||
# - run: flutter analyze | ||
# - run: flutter build apk --release | ||
# - run: flutter build apk --split-per-abi --release | ||
# - run: flutter build web --release --base-href="/AniList-jsr/" | ||
# - uses: FirebaseExtended/action-hosting-deploy@v0 | ||
# with: | ||
# repoToken: "${{ secrets.TOKEN }}" | ||
# firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_MY_PROJECT_ID }}" | ||
# projectId: MY_PROJECT_ID | ||
# - name: Push to Releases | ||
# uses: ncipollo/release-action@v1 | ||
# with: | ||
# artifacts: "build/app/outputs/flutter-apk/*.apk" | ||
# tag: v0.0.${{ github.run_number }} | ||
# token: ${{ secrets.TOKEN }} | ||
# # - name: Build Web | ||
# # run: | | ||
# # cd build/web | ||
# # git init -b origin | ||
# # git config --global user.email [email protected] | ||
# # git config --global user.name joaojsrbr | ||
# # git status | ||
# # git remote add origin https://${{secrets.TOKEN}}@github.com/joaojsrbr/AniList-jsr.git | ||
# # git checkout -b gh-pages | ||
# # # git pull origin gh-pages | ||
# # git add . | ||
# # git commit -m "update" | ||
# # git push origin gh-pages -f | ||
# # - name: Telegram<apk> | ||
# # uses: appleboy/telegram-action@master | ||
# # with: | ||
# # to: ${{ secrets.TELEGRAM_TO }} | ||
# # token: ${{ secrets.TELEGRAM_TOKEN }} | ||
# # document: build/app/outputs/flutter-apk/*.apk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import 'package:com_joaojsrbr_reader/app/models/book_item.dart'; | ||
import 'package:loading_more_list/loading_more_list.dart'; | ||
|
||
class MangaLivreRepository extends LoadingMoreBase<BookItem> { | ||
@override | ||
Future<bool> loadData([Object isloadMoreAction = false]) { | ||
throw UnimplementedError(); | ||
} | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
class MangaLivreServices {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters