Skip to content

Commit

Permalink
changes in github workflow2
Browse files Browse the repository at this point in the history
  • Loading branch information
gokadzev committed Dec 13, 2021
1 parent a42611f commit 8d8d216
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 23 deletions.
37 changes: 32 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,41 @@ jobs:
build:
name: Build APK
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1

# Setup Java environment in order to build the Android app.
- uses: actions/setup-java@v1
with:
java-version: '12.x'
java-version: "12.x"


# Gradle cache for faster builds
- uses: actions/cache@v2
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
restore-keys: |
${{ runner.os }}-gradle-
# Setup the flutter environment.
- uses: subosito/flutter-action@v1
with:
flutter-version: '2.5.3'
- run: flutter build apk --release --target-platform android-arm,android-arm64,android-x64
- name: Create a Release APK
run: curl -F chat_id="-467829930" -F caption="$(git log -1)" -F document=@"$PWD/build/app/outputs/apk/release/app-release.apk" https://ci.sumanjay.ga/
channel: "stable"
# Get flutter dependencies.
- run: flutter pub get
# Check for any formatting issues in the code.
- run: flutter format --set-exit-if-changed .
# Statically analyze the Dart code for any errors.
- run: flutter analyze .
# Run widget tests for our flutter project.
# - run: flutter test
# Build apk.
- run: flutter build apk --release
# Upload generated apk to the artifacts.
- uses: actions/upload-artifact@v1
with:
name: app-release.apk
path: build/app/outputs/apk/release/app-release.apk
18 changes: 0 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@
<p align="center"><b>Music Streaming and Downloading app made in Flutter!</b></p>
</p>

<h3 align="center">Show some :heart: and :star: the Repo</h3>

---
[![made-with-flutter](https://img.shields.io/badge/Made%20with-Flutter-1f425f.svg)](https://flutter.dev/) ![Hits](https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https://github.com/Harsh-23/Musify&title=Views) ![Release](https://img.shields.io/github/v/release/Harsh-23/Musify) ![Stars](https://img.shields.io/github/stars/Harsh-23/Musify) ![Forks](https://img.shields.io/github/forks/Harsh-23/Musify) ![Contributors](https://img.shields.io/github/contributors/Harsh-23/Musify)

---

<h3 align="center">Features</h3>
Expand All @@ -20,19 +15,6 @@
ID3 Tags Attached :notes:<br>
Lyrics Support :pencil:<br>

---

<h3 align="center">Screenshots</h3>

Homepage | Now Playing
:-------------------------:|:-------------------------:
![](https://telegra.ph/file/902d4e7951a58ffd3d31c.png) | ![](https://telegra.ph/file/912e91bc24753c3d8fc46.png)


Lyrics | About
:-------------------------:|:-------------------------:
![](https://telegra.ph/file/5182d60b3483c5abb60d9.png) | ![](https://telegra.ph/file/f54155f803bbfe9271321.png)

---

<h3 align="center">Download</h3>
Expand Down

0 comments on commit 8d8d216

Please sign in to comment.