Skip to content

Commit 6f09cea

Browse files
CI: Unique artifact names are generated (#8)
1 parent f460d68 commit 6f09cea

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/package-verification.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ jobs:
6161
steps:
6262
- name: Prepare variables
6363
run: |
64+
RUN_CFG__NOW="$(date +'%Y%m%d_%H%M%S')"
65+
echo "RUN_CFG__NOW=$RUN_CFG__NOW" >> $GITHUB_ENV
6466
RUN_CFG__LOGS_DIR="logs-${{ matrix.platform }}-py${{ matrix.python }}"
6567
echo "RUN_CFG__LOGS_DIR=$RUN_CFG__LOGS_DIR" >> $GITHUB_ENV
6668
RUN_CFG__DOCKER_IMAGE_NAME="tests-${{ matrix.platform }}-py${{ matrix.python }}"
@@ -81,6 +83,6 @@ jobs:
8183
uses: actions/upload-artifact@v4
8284
if: always() # IT IS IMPORTANT!
8385
with:
84-
name: container-logs--${{ matrix.platform }}-py${{ matrix.python }}
86+
name: testgres.common--test_logs--${{ env.RUN_CFG__NOW }}-${{ matrix.platform }}-py${{ matrix.python }}-id${{ github.run_id }}
8587
path: "${{ env.RUN_CFG__LOGS_DIR }}/"
8688

0 commit comments

Comments
 (0)