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 diff --git a/README.md b/README.md index 36cc08a4c..319fedb5a 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,19 @@ # Echo +## Installation + +Go to [releases](https://github.com/echo-swent/echo/releases) and download the `app-debug.apk` asset from the latest release. + +## 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