Skip to content

Commit

Permalink
Update pull-request-intergration.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
YeaChan05 authored Feb 9, 2024
1 parent 79d8288 commit cfee4a7
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/pull-request-intergration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ jobs:
restore-keys: |
${{ runner.os }}-gradle-
- run: touch ./src/main/resources/application-secret.properties
- run: echo "${{ secrets.SECRET_KEY }}" > ./src/main/resources/application-secret.properties
- run: cat ./src/main/resources/application-secret.properties
- run: touch ./src/main/resources/application-secret.yml
- run: echo "${{ secrets.SECRET_KEY }}" > ./src/main/resources/application-secret.yml
- run: cat ./src/main/resources/application-secret.yml

- name: Grant execute permission for gradlew
run: chmod +x gradlew
Expand All @@ -70,9 +70,12 @@ jobs:
with:
java-version: 17
distribution: 'corretto'
- run: touch ./src/main/resources/application-secret.yml
- run: echo "${{ secrets.SECRET_KEY }}" > ./src/main/resources/application-secret.yml
- run: cat ./src/main/resources/application-secret.yml
- name: Build with Gradle
run: ./gradlew build -x test

test:
needs: [ setup, build ]
runs-on: ubuntu-latest
Expand All @@ -84,6 +87,9 @@ jobs:
with:
java-version: 17
distribution: 'corretto'
- run: touch ./src/main/resources/application-secret.yml
- run: echo "${{ secrets.SECRET_KEY }}" > ./src/main/resources/application-secret.yml
- run: cat ./src/main/resources/application-secret.yml
- name: Test with Gradle
run: ./gradlew test

Expand Down

0 comments on commit cfee4a7

Please sign in to comment.