diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..790ca8d --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,36 @@ +name: Release the app + +on: + push: + tags: + - '*' + +jobs: + release: + runs-on: ubuntu-latest + environment: Development + env: + ACRA_LOGIN: ${{ secrets.ACRARIUM_BASIC_AUTH_LOGIN }} + ACRA_PASS: ${{ secrets.ACRARIUM_BASIC_AUTH_PASSWORD }} + ACRA_URI: ${{ secrets.ACRARIUM_URI }} + BRANCH_NAME: ${{ github.ref_name }} + steps: + - uses: actions/checkout@v3 + + - name: Set up JDK 11 + uses: actions/setup-java@v3 + with: + java-version: '11' + distribution: 'adopt' + + - name: Validate Gradle wrapper + uses: gradle/wrapper-validation-action@v1.0.5 + + - name: Build Release APK + run: ./gradlew assembleRelease + + - name: Release + uses: ncipollo/release-action@v1 + with: + artifacts: "./app/build/outputs/apk/release/*.apk" + token: ${{ secrets.GITHUB_TOKEN }} diff --git a/README.md b/README.md index e29fe95..888772f 100644 --- a/README.md +++ b/README.md @@ -26,5 +26,5 @@ ARK Retouch is an open-source application and absolutely ad-free. We respect you **Embark on your creative journey today with ARK Retouch!** -Download APK +Download APK Buy Me A Coffee