Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 88adf25d authored by Nishith  Khanna's avatar Nishith Khanna
Browse files

Merge remote-tracking branch 'origin/lineage-23.0' into a16

parents 80d9e45a fc837e63
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
name: build

on: [push, pull_request, workflow_dispatch]

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
    - name: Checkout repo
      uses: actions/checkout@v4

    - name: Build
      uses: ./.github/workflows/build
+21 −0
Original line number Diff line number Diff line
name: build

runs:
    using: composite

    steps:
    - name: Setup JDK 17
      uses: actions/setup-java@v4
      with:
        distribution: 'zulu'
        java-version: 17
        cache: 'gradle'

    - name: Build with Gradle
      shell: bash
      run: ./gradlew assembleDebug

    - uses: actions/upload-artifact@v4
      with:
        name: DeskClock-debug.apk
        path: build/outputs/apk/debug/DeskClock-debug.apk
+30 −0
Original line number Diff line number Diff line
name: gerrit checks

on:
  workflow_dispatch:
    inputs:
      ref:
        type: string
      gerrit-ref:
        type: string
      change:
        type: string

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: lineageos-infra/fetch-gerrit-change@main
      with:
        gerrit-ref: ${{ inputs.gerrit-ref }}
        ref: ${{ inputs.ref }}

    - name: Build
      uses: ./.github/workflows/build

    - uses: lineageos-infra/gerrit-vote@main
      if: always()
      with:
        auth: ${{ secrets.GERRIT_VOTE_CREDS }}
        change: ${{ inputs.change }}
        ref: ${{ inputs.ref }}