Skip to content

Commit 69ca896

Browse files
committed
🔧 Maintenance: fix indention
1 parent 1a34fd1 commit 69ca896

File tree

1 file changed

+23
-22
lines changed

1 file changed

+23
-22
lines changed

.github/workflows/upload.yml

Lines changed: 23 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -9,25 +9,26 @@ jobs:
99
build-and-upload:
1010
runs-on: ubuntu-latest
1111

12-
steps:
13-
- name: Checkout the code
14-
uses: actions/checkout@v2
15-
16-
- name: Set up Node.js
17-
uses: actions/setup-node@v2
18-
with:
19-
node-version: '16.x'
20-
21-
- name: Install dependencies
22-
run: npm install
23-
24-
- name: Build the APK
25-
run: |
26-
npx react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res/
27-
cd android && ./gradlew assembleRelease
28-
29-
- name: Upload the APK to Uploadcare
30-
run: |
31-
curl -F "UPLOADCARE_PUB_KEY=${{ secrets.UPLOADCARE_PUB_KEY }}" \
32-
-F "file=@./android/app/build/outputs/apk/release/app-release.apk" \
33-
"https://upload.uploadcare.com/base/"
12+
steps:
13+
- name: Checkout the code
14+
uses: actions/checkout@v2
15+
16+
- name: Set up Node.js
17+
uses: actions/setup-node@v2
18+
with:
19+
node-version: '16.x'
20+
21+
- name: Install dependencies
22+
run: npm install
23+
24+
- name: Build the APK
25+
run: |
26+
npx react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res/
27+
cd android && ./gradlew assembleRelease
28+
29+
- name: Upload the APK to Uploadcare
30+
run: |
31+
curl -F "UPLOADCARE_PUB_KEY=${{ secrets.UPLOADCARE_PUB_KEY }}" \
32+
-F "file=@./android/app/build/outputs/apk/release/app-release.apk" \
33+
"https://upload.uploadcare.com/base/"
34+

0 commit comments

Comments
 (0)