From fc08bac116ebbb9e738e72cb45d6f8b0a5a6f768 Mon Sep 17 00:00:00 2001 From: octogradiste Date: Fri, 12 Apr 2024 14:09:16 +0200 Subject: [PATCH 1/3] Create release --- .github/workflows/android.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 6f955d326..0160ac49a 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -10,6 +10,10 @@ jobs: name: Build runs-on: ubuntu-latest + # Write permission to create a release + permissions: + contents: write + steps: # First step : Checkout the repository on the runner - name: Checkout @@ -49,4 +53,11 @@ jobs: with: name: echo-app.apk path: app/build/outputs/apk/debug/app-debug.apk - if-no-files-found: error \ No newline at end of file + if-no-files-found: error + + # Create a release + - name: Create Release + uses: softprops/action-gh-release@v2 + with: + files: app/build/outputs/apk/debug/app-debug.apk + token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file From 02377ced11fd0d79269abd3017fdcec6e9cde216 Mon Sep 17 00:00:00 2001 From: octogradiste Date: Fri, 12 Apr 2024 14:24:34 +0200 Subject: [PATCH 2/3] Add install guide to README --- README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/README.md b/README.md index 36cc08a4c..5e45d52ca 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,25 @@ # Echo +## Installation + +### Release + +Go to [releases](https://github.com/echo-swent/echo/releases) and download the `app-debug.apk` asset from the latest release. + +### Artifact + +Go to the [Android APK Build](https://github.com/echo-swent/echo/actions/workflows/android.yml) workflow and download the `echo-app.apk` artifact from the latest successful run. + +## Authentication + +If you have trouble logging in, please use the following test credentials: + +- test@example.com +- 123456 + +> [!NOTE] +> Make sure you are on the login page before entering the test credentials. + ## Architecture ![Architecture](architecture.png) \ No newline at end of file From 9c8bf4ecfe476af7cbdf1ca4fc8bf633031661ab Mon Sep 17 00:00:00 2001 From: octogradiste Date: Fri, 12 Apr 2024 16:07:55 +0200 Subject: [PATCH 3/3] Remove install guide via artifacts --- README.md | 6 ------ 1 file changed, 6 deletions(-) diff --git a/README.md b/README.md index 5e45d52ca..319fedb5a 100644 --- a/README.md +++ b/README.md @@ -2,14 +2,8 @@ ## Installation -### Release - Go to [releases](https://github.com/echo-swent/echo/releases) and download the `app-debug.apk` asset from the latest release. -### Artifact - -Go to the [Android APK Build](https://github.com/echo-swent/echo/actions/workflows/android.yml) workflow and download the `echo-app.apk` artifact from the latest successful run. - ## Authentication If you have trouble logging in, please use the following test credentials: