Merge pull request #7028 from BlueWallet/specialchars

Specialchars
This commit is contained in:
GLaDOS 2024-09-06 18:31:41 +00:00 committed by GitHub
commit b8bc56d9ec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,7 +4,7 @@ on:
pull_request:
branches:
- master
types: [opened, synchronize, reopened, labeled, unlabeled]
types: [opened, synchronize, reopened]
push:
branches:
- master
@ -79,7 +79,7 @@ jobs:
id: determine_apk_path
run: |
VERSION_NAME=$(grep versionName android/app/build.gradle | awk '{print $2}' | tr -d '"')
BRANCH_NAME=$(echo ${{ github.head_ref || github.ref_name }} | sed 's/\//-/g')
BRANCH_NAME=$(echo ${{ github.head_ref || github.ref_name }} | sed 's/[^a-zA-Z0-9_-]/-/g')
if [ "$BRANCH_NAME" != "master" ]; then
EXPECTED_FILENAME="BlueWallet-${VERSION_NAME}-${NEW_BUILD_NUMBER}-${BRANCH_NAME}.apk"
else
@ -98,7 +98,7 @@ jobs:
browserstack:
runs-on: ubuntu-latest
needs: buildReleaseApk
if: contains(github.event.pull_request.labels.*.name, 'browserstack')
if: ${{ github.event_name == 'pull_request' }}
steps:
- name: Checkout code