Skip to content

Commit

Permalink
[#1522] Moved uploading of exported codebase as artifact to a later s…
Browse files Browse the repository at this point in the history
…tage in GHA.
AlexSkrypnyk committed Jan 31, 2025
1 parent 8d49dc5 commit 1d37bf5
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/build-test-deploy.yml
Original file line number Diff line number Diff line change
@@ -229,16 +229,6 @@ jobs:
docker compose cp -L cli:"/app/." "/tmp/workspace/code"
du -sh "/tmp/workspace/code"
- name: Upload exported codebase as artifact
uses: actions/upload-artifact@v4
if: matrix.instance == 0
with:
name: code-artifact
path: "/tmp/workspace/code"
include-hidden-files: true
if-no-files-found: error
retention-days: 1

- name: Install development dependencies
run: |
docker compose exec $(env | cut -f1 -d= | sed 's/^/-e /') -T cli bash -c " \
@@ -328,6 +318,16 @@ jobs:
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

- name: Upload exported codebase as artifact
uses: actions/upload-artifact@v4
if: ${{ matrix.instance == 0 && !startsWith(github.ref, 'refs/heads/deps/') }}
with:
name: code-artifact
path: "/tmp/workspace/code"
include-hidden-files: true
if-no-files-found: error
retention-days: 1

- name: Setup tmate session
if: ${{ !cancelled() && github.event.inputs.enable_terminal }}
uses: mxschmitt/action-tmate@v3

1 comment on commit 1d37bf5

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.