Skip to content

Commit

Permalink
fix: build-and-deploy가 보이지 않는 문제 수정 > 아티팩트 추가(종속성)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hamiwood committed Dec 19, 2024
1 parent 95db1dd commit 5526f2d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .github/workflows/itcast-build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3

- name: Download build artifact
uses: actions/download-artifact@v3
with:
name: build-results

- name: Debug workflow_run event
run: echo "${{ toJson(github.event) }}"

- name: Set up JDK 17
uses: actions/setup-java@v3
with:
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/itcast-build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,10 @@ jobs:
- name: Tear down Docker Compose
if: always()
run: docker-compose down
run: docker-compose down

- name: Upload build artifact
uses: actions/upload-artifact@v3
with:
name: build-results
path: build/libs/*.jar

0 comments on commit 5526f2d

Please sign in to comment.