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 0bad949 commit 0e6fc47
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,19 @@ jobs:
echo "${{ secrets.APPLICATION_TEST_YML }}" > baebae-BE/src/test/resources/application-test.yml
- name: Create Firebase credentials file in main resources
env:
FIREBASE_CREDENTIALS_JSON: ${{ secrets.FIREBASE_CREDENTIALS_JSON }}
run: |
echo $FIREBASE_CREDENTIALS_JSON | base64 --decode > baebae-BE/src/main/resources/baebae-ff525-firebase-adminsdk-zbc8h-7fd10e518b.json
echo "${{ secrets.FIREBASE_CREDENTIALS_JSON }}" > baebae-BE/src/main/resources/baebae-ff525-firebase-adminsdk-zbc8h-7fd10e518b.json
- name: Create Firebase credentials file in test resources
env:
FIREBASE_CREDENTIALS_JSON: ${{ secrets.FIREBASE_CREDENTIALS_JSON }}
run: |
echo $FIREBASE_CREDENTIALS_JSON | base64 --decode > baebae-BE/src/test/resources/baebae-ff525-firebase-adminsdk-zbc8h-7fd10e518b.json
echo "${{ 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


- name: Build with Gradle
run: |
Expand Down

0 comments on commit 0e6fc47

Please sign in to comment.