diff --git a/.github/workflows/package-verification.yml b/.github/workflows/package-verification.yml index 16271af..727d462 100644 --- a/.github/workflows/package-verification.yml +++ b/.github/workflows/package-verification.yml @@ -64,14 +64,17 @@ jobs: - platform: "alpine" python: "3.14" + env: + BASE_SIGN: "${{ matrix.platform }}-py${{ matrix.python }}" + steps: - name: Prepare variables run: | RUN_CFG__NOW="$(date +'%Y%m%d_%H%M%S')" echo "RUN_CFG__NOW=$RUN_CFG__NOW" >> $GITHUB_ENV - RUN_CFG__LOGS_DIR="logs-${{ matrix.platform }}-py${{ matrix.python }}" + RUN_CFG__LOGS_DIR="logs-${{ env.BASE_SIGN }}" echo "RUN_CFG__LOGS_DIR=$RUN_CFG__LOGS_DIR" >> $GITHUB_ENV - RUN_CFG__DOCKER_IMAGE_NAME="tests-${{ matrix.platform }}-py${{ matrix.python }}" + RUN_CFG__DOCKER_IMAGE_NAME="tests-${{ env.BASE_SIGN }}" echo "RUN_CFG__DOCKER_IMAGE_NAME=$RUN_CFG__DOCKER_IMAGE_NAME" >> $GITHUB_ENV echo "---------- [$GITHUB_ENV]" cat $GITHUB_ENV @@ -89,5 +92,5 @@ jobs: uses: actions/upload-artifact@v7 if: always() # IT IS IMPORTANT! with: - name: testgres.common--test_logs--${{ env.RUN_CFG__NOW }}-${{ matrix.platform }}-py${{ matrix.python }}-id${{ github.run_id }} + name: testgres.common--test_logs--${{ env.RUN_CFG__NOW }}-${{ env.BASE_SIGN }}-id${{ github.run_id }} path: "${{ env.RUN_CFG__LOGS_DIR }}/"