Skip to content

Commit

Permalink
Fix the logs upload step for integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mikealfare authored Aug 27, 2024
1 parent 62d597a commit de2bca1
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -229,19 +229,19 @@ jobs:
GCS_BUCKET: dbt-ci
run: tox -- --ddtrace

- uses: actions/upload-artifact@v4
if: always()
with:
name: logs
path: ./logs
overwrite: true

- name: Get current date
if: always()
id: date
run: |
echo "date=$(date +'%Y-%m-%dT%H_%M_%S')" >> $GITHUB_OUTPUT #no colons allowed for artifacts
- uses: actions/upload-artifact@v4
if: always()
with:
name: logs_${{ matrix.python-version }}_${{ matrix.os }}_${{ matrix.adapter }}-${{ steps.date.outputs.date }}
path: ./logs
overwrite: true

- uses: actions/upload-artifact@v4
if: always()
with:
Expand Down

0 comments on commit de2bca1

Please sign in to comment.