Skip to content

ci: 배포 액션으로 softprops/action-gh-release@v2 사용 #11

ci: 배포 액션으로 softprops/action-gh-release@v2 사용

ci: 배포 액션으로 softprops/action-gh-release@v2 사용 #11

Workflow file for this run

name: Spring Boot Test
on:
pull_request:
branches: master
push:
branches: master
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Save secrets as .env file
run: |
echo $SECRETS_CONTEXT | jq -r 'to_entries[] | "\(.key)=\(.value)\n"' > src/main/resources/.env
env:
SECRETS_CONTEXT: ${{toJSON(secrets)}}
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
- name: Run Gradle Test
run: ./gradlew test
env:
SPRING_PROFILES_ACTIVE: dev