Skip to content

Commit df2fd68

Browse files
committed
upload build artifacts
1 parent 506e3ac commit df2fd68

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,21 @@ jobs:
142142
run: |
143143
docker compose exec app test/test.sh
144144
145+
- name: Copy out artifacts
146+
if: ${{ always() }}
147+
run: |
148+
docker compose cp app:/opt/app/artifacts ./
149+
docker compose logs > artifacts/docker-compose-services.log
150+
docker compose config > artifacts/docker-compose.merged.yml
151+
152+
- name: Upload the test report
153+
if: ${{ always() }}
154+
uses: actions/upload-artifact@v4
155+
with:
156+
name: iipsrv Build Report (${{ github.run_id }}_${{ github.run_attempt }})
157+
path: artifacts/*
158+
if-no-files-found: error
159+
145160
push:
146161
runs-on: ubuntu-latest
147162
needs:

0 commit comments

Comments
 (0)