feat: #10 빌드시 필요한 환경변수 포함하여 빌드하도록 수정 #31
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI-CD | |
on: | |
push: | |
branches: [ "master" , "develop", "feature/ci-cd" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Prepare secure key manager certKey file | |
run: | | |
echo ${{ secrets.SECURE_KEY_MANAGER_CERT_KEY }} > t3team-skm-cert.txt | |
mkdir src/main/resources/key | |
base64 -d t3team-skm-cert.txt > src/main/resources/key/t3team-skm-cert.p12 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '11' | |
distribution: 'temurin' | |
cache: maven | |
- name: Build with Maven | |
run: mvn package ${{ secrets.MAVEN_PACKAGE_OPTIONS }} |