chore: update ci
This commit is contained in:
@@ -149,6 +149,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
RUNTIME_VERSION=$(jq -r '.expo.runtimeVersion' app.json)
|
RUNTIME_VERSION=$(jq -r '.expo.runtimeVersion' app.json)
|
||||||
npx expo export --platform android --output-dir dist
|
npx expo export --platform android --output-dir dist
|
||||||
|
npx expo config --json > dist/expoconfig.json
|
||||||
cd dist && zip -r ../bundle.zip . && cd ..
|
cd dist && zip -r ../bundle.zip . && cd ..
|
||||||
curl -X POST "${{ steps.config.outputs.xavia_url }}/api/upload" \
|
curl -X POST "${{ steps.config.outputs.xavia_url }}/api/upload" \
|
||||||
-H "Authorization: Bearer ${{ steps.config.outputs.xavia_key }}" \
|
-H "Authorization: Bearer ${{ steps.config.outputs.xavia_key }}" \
|
||||||
|
|||||||
@@ -149,6 +149,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
RUNTIME_VERSION=$(jq -r '.expo.runtimeVersion' app.json)
|
RUNTIME_VERSION=$(jq -r '.expo.runtimeVersion' app.json)
|
||||||
npx expo export --platform android --output-dir dist
|
npx expo export --platform android --output-dir dist
|
||||||
|
npx expo config --json > dist/expoconfig.json
|
||||||
cd dist && zip -r ../bundle.zip . && cd ..
|
cd dist && zip -r ../bundle.zip . && cd ..
|
||||||
curl -X POST "${{ steps.config.outputs.xavia_url }}/api/upload" \
|
curl -X POST "${{ steps.config.outputs.xavia_url }}/api/upload" \
|
||||||
-H "Authorization: Bearer ${{ steps.config.outputs.xavia_key }}" \
|
-H "Authorization: Bearer ${{ steps.config.outputs.xavia_key }}" \
|
||||||
|
|||||||
Reference in New Issue
Block a user