Skip to content

[Core] CD Pipeline

[Core] CD Pipeline #3

Workflow file for this run

name: Android CI
on:
pull_request:
branches: ["develop"]
jobs:
cd-build:
env:
TITLE: ${{ github.event.pull_request.title }}
KEYSTORE: ${{ secrets.DODAM_KEYSTORE }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: gradle
- name: Check Env
run: |
echo '${{ env.KEYSTORE }}'
- name: Generate Keystore File
run: |
echo '${{ env.KEYSTORE }}' | base64 --d > ./dodam.jks
ls
- name: 버전 이름 추출
id: extract_version
run: echo "version=v$(echo '${{ github.event.pull_request.title }}' | grep -oP 'release v\\K[0-9]+\\.[0-9]+\\.[0-9]+')" >> $GITHUB_ENV
- name: 버전 출력
run: echo "Extract Version ${{ env.version }}"