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

Commit ea2335f3 authored by Fahim Salam Chowdhury's avatar Fahim Salam Chowdhury 👽
Browse files

setup pipeline for library publish

parent 46ee02f4
Loading
Loading
Loading
Loading
+13 −5
Original line number Diff line number Diff line
image: "registry.gitlab.e.foundation/e/os/docker-android-apps-cicd:legacy"
image: "registry.gitlab.e.foundation/e/os/docker-android-apps-cicd:1263-Add_java_17_support"

stages:
  - build
  - lib
  - publish

before_script:
  - export GRADLE_USER_HOME=$(pwd)/.gradle
@@ -12,8 +13,15 @@ cache:
  paths:
    - .gradle/

build:
  stage: build
lib:
  stage: lib
  script:
    - ./gradlew assembleDebug
    - ./gradlew assemble
  artifacts:
    paths:
      - build/libs/

publish:
  stage: publish
  script:
    - ./gradlew publish