Skip to content

Commit

Permalink
Update build-test.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
jihyo-j authored May 23, 2024
1 parent b2ac18b commit a2ef4af
Showing 1 changed file with 7 additions and 13 deletions.
20 changes: 7 additions & 13 deletions .github/workflows/build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,20 +36,14 @@ jobs:
echo "${{ secrets.TEST_APPLICATION_YML }}" > baebae-BE/src/test/resources/application.yml
echo "${{ secrets.APPLICATION_TEST_YML }}" > baebae-BE/src/test/resources/application-test.yml
- name: Create Firebase credentials file in main resources
run: |
printf '%s' "${{ secrets.FIREBASE_CREDENTIALS_JSON }}" > baebae-BE/src/main/resources/baebae-ff525-firebase-adminsdk-zbc8h-7fd10e518b.json
- name: Create Firebase credentials file in test resources
run: |
printf '%s' "${{ secrets.FIREBASE_CREDENTIALS_JSON }}" > baebae-BE/src/test/resources/baebae-ff525-firebase-adminsdk-zbc8h-7fd10e518b.json
- name: Display Firebase credentials file in main resources
run: cat baebae-BE/src/main/resources/baebae-ff525-firebase-adminsdk-zbc8h-7fd10e518b.json

- name: Display Firebase credentials file in test resources
run: cat baebae-BE/src/test/resources/baebae-ff525-firebase-adminsdk-zbc8h-7fd10e518b.json

id: create-json
uses: jsdainell/[email protected]
with:
name: "baebae-BE/src/test/resources/baebae-ff525-firebase-adminsdk-zbc8h-7fd10e518b.json"
json: ${{ secrets.FCM_CERTIFICATION}}
cat baebae-BE/src/test/resources/baebae-ff525-firebase-adminsdk-zbc8h-7fd10e518b.json

- name: Build with Gradle
run: |
cd baebae-BE
Expand Down

0 comments on commit a2ef4af

Please sign in to comment.