Skip to content

Commit

Permalink
improved ci artefact name
Browse files Browse the repository at this point in the history
  • Loading branch information
igorkorsukov committed Oct 23, 2021
1 parent aed3dca commit 3305cc0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci_linux_mu4.yml
Expand Up @@ -79,7 +79,8 @@ jobs:
DO_PUBLISH='false'
fi

UPLOAD_ARTIFACT_NAME="$(tr "\":<>|*?/\\" "_" <<<"MU4_${{ github.run_id }}_Lin_${{ github.event.pull_request.number }}_${{ github.event.pull_request.title }}")"
if [ "${{ github.event_name }}" == "pull_request" ]; then PR_INFO="_${{ github.event.pull_request.number }}_${{ github.event.pull_request.title }}"; fi
UPLOAD_ARTIFACT_NAME="$(tr "\":<>|*?/\\" "_" <<<"MU4_${{ github.run_id }}_Lin${PR_INFO}")"

echo "github.repository: ${{ github.repository }}"
echo "BUILD_MODE=$BUILD_MODE" >> $GITHUB_ENV
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/ci_macos_mu4.yml
Expand Up @@ -96,7 +96,8 @@ jobs:
DO_PUBLISH='false'
fi
UPLOAD_ARTIFACT_NAME="$(tr "\":<>|*?/\\" "_" <<<"MU4_${{ github.run_id }}_Mac_${{ github.event.pull_request.number }}_${{ github.event.pull_request.title }}")"
if [ "${{ github.event_name }}" == "pull_request" ]; then PR_INFO="_${{ github.event.pull_request.number }}_${{ github.event.pull_request.title }}"; fi
UPLOAD_ARTIFACT_NAME="$(tr "\":<>|*?/\\" "_" <<<"MU4_${{ github.run_id }}_Mac${PR_INFO}")"
echo "github.repository: ${{ github.repository }}"
echo "BUILD_MODE=$BUILD_MODE" >> $GITHUB_ENV
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/ci_windows_mu4.yml
Expand Up @@ -76,7 +76,8 @@ jobs:
DO_PUBLISH='false'
fi
UPLOAD_ARTIFACT_NAME="$(tr "\":<>|*?/\\" "_" <<<"MU4_${{ github.run_id }}_Win_x64_${{ github.event.pull_request.number }}_${{ github.event.pull_request.title }}")"
if [ "${{ github.event_name }}" == "pull_request" ]; then PR_INFO="_${{ github.event.pull_request.number }}_${{ github.event.pull_request.title }}"; fi
UPLOAD_ARTIFACT_NAME="$(tr "\":<>|*?/\\" "_" <<<"MU4_${{ github.run_id }}_Win${PR_INFO}")"
echo "github.repository: ${{ github.repository }}"
echo "BUILD_MODE=$BUILD_MODE" >> $GITHUB_ENV
Expand Down

0 comments on commit 3305cc0

Please sign in to comment.