diff --git a/.github/workflows/native-build.yml b/.github/workflows/native-build.yml index bc8cb5a7..4341a147 100644 --- a/.github/workflows/native-build.yml +++ b/.github/workflows/native-build.yml @@ -45,7 +45,7 @@ jobs: - name: Parse Asset URL id: url run: | - ASSET_URL=$(grep -oe 'https://expo.dev/artifacts/eas/.*' log.txt) + ASSET_URL=$(cat log.txt | jq '.[0].artifacts.buildUrl' -r) echo The android url is $ASSET_URL echo "assetUrl=$ASSET_URL" >> $GITHUB_OUTPUT diff --git a/front/apps/mobile/package.json b/front/apps/mobile/package.json index 4298b22f..b71bd9a1 100644 --- a/front/apps/mobile/package.json +++ b/front/apps/mobile/package.json @@ -9,7 +9,7 @@ "ios": "expo start --ios", "web": "expo start --web", "build": "eas build --profile production --platform android --non-interactive --auto-submit", - "build:apk": "eas build --profile preview --platform android --non-interactive", + "build:apk": "eas build --profile preview --platform android --non-interactive --json", "build:dev": "eas build --profile development --platform android --non-interactive", "update": "eas update --auto --channel prod" },