diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml deleted file mode 100644 index 9bed22bc4..000000000 --- a/.github/workflows/CI.yml +++ /dev/null @@ -1,27 +0,0 @@ -name: Build - -on: - push: - branches: - - master - pull_request: - -jobs: - build: - runs-on: ubuntu-latest - name: Build - - steps: - - uses: actions/checkout@v3 - - - name: Set up JDK 17 - uses: actions/setup-java@v3 - with: - java-version: 17 - distribution: temurin - - - name: Setup Android SDK - uses: android-actions/setup-android@v2 - - - name: Build App - run: ./gradlew --no-daemon assembleDebug diff --git a/.github/workflows/debug.yml b/.github/workflows/debug.yml new file mode 100644 index 000000000..0ed3332a6 --- /dev/null +++ b/.github/workflows/debug.yml @@ -0,0 +1,35 @@ +name: Debug + +on: + push: + branches: + - master + + pull_request: + +jobs: + build: + runs-on: ubuntu-24.04 + name: Build + + steps: + - uses: actions/checkout@v4 + + - name: Set up JDK 17 + uses: actions/setup-java@v4 + with: + java-version: 17 + distribution: temurin + + - name: Setup Android SDK + uses: android-actions/setup-android@v3 + + - name: Build App + run: ./gradlew --no-daemon assembleDebug + + - uses: actions/upload-artifact@v4 + with: + name: pr0gramm-app-debug.apk + path: app/build/outputs/apk/release/app-release.apk + if-no-files-found: error + compression-level: 0 \ No newline at end of file