From 72e15e90a9fb2736a5500df5fcd160aa3de75ee5 Mon Sep 17 00:00:00 2001 From: Hannes Achleitner Date: Thu, 9 May 2024 10:44:02 +0200 Subject: [PATCH] Build release on CI --- .github/workflows/Android-CI.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/.github/workflows/Android-CI.yml b/.github/workflows/Android-CI.yml index 39647558..dae1d128 100644 --- a/.github/workflows/Android-CI.yml +++ b/.github/workflows/Android-CI.yml @@ -80,3 +80,26 @@ jobs: with: name: IOIO-Lint-report path: applications/**/build/reports/lint-results.html + + buildRelease: + name: Release + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: [ macOS-14 ] + java_version: [ 17 ] + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Install JDK ${{ matrix.java_version }} + uses: actions/setup-java@v4 + with: + distribution: 'adopt' + java-version: ${{ matrix.java_version }} + - name: build release + run: ./gradlew assembleRelease + env: + VERSION: ${{ github.ref }}