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 63cb1bf commit 0bad949
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,16 @@ 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 "${{ secrets.FIREBASE_CREDENTIALS_JSON }}" | sed 's/\\n/\n/g' > baebae-BE/src/main/resources/baebae-ff525-firebase-adminsdk-zbc8h-7fd10e518b.json
echo $FIREBASE_CREDENTIALS_JSON | base64 --decode > 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 "${{ secrets.FIREBASE_CREDENTIALS_JSON }}" | sed 's/\\n/\n/g' > baebae-BE/src/test/resources/baebae-ff525-firebase-adminsdk-zbc8h-7fd10e518b.json
echo $FIREBASE_CREDENTIALS_JSON | base64 --decode > baebae-BE/src/test/resources/baebae-ff525-firebase-adminsdk-zbc8h-7fd10e518b.json
- name: Build with Gradle
run: |
Expand Down

0 comments on commit 0bad949

Please sign in to comment.