Skip to content

Commit a30f37b

Browse files
authored
Merge pull request #1039 from rasaha91/cherry-pick-pr-cleanup
Cleaning up parts of android-pr.yml
2 parents f755f9b + d395dcd commit a30f37b

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.ado/android-pr.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ jobs:
3232
- task: CmdLine@2
3333
displayName: Remove RNTesterApp.android.bundle
3434
inputs:
35-
script: rm -f RNTesterApp.android.bundle
35+
script: rm -f ./packages/rn-tester/js/RNTesterApp.android.bundle
3636

3737
- task: CmdLine@2
3838
displayName: Create RNTester bundle
3939
inputs:
40-
script: node cli.js bundle --entry-file ./packages/rn-tester/js/RNTesterApp.android.js --bundle-output RNTesterApp.android.bundle --platform android
40+
script: node cli.js bundle --entry-file ./packages/rn-tester/js/RNTesterApp.android.js --bundle-output ./packages/rn-tester/js/RNTesterApp.android.bundle --platform android
4141

4242
- task: CmdLine@2
4343
displayName: gradlew installArchives
@@ -49,7 +49,7 @@ jobs:
4949
inputs:
5050
script: REACT_NATIVE_BOOST_PATH=$(System.DefaultWorkingDirectory)/build_deps ./gradlew :packages:rn-tester:android:app:assemble
5151

52-
- template: templates\prep-android-nuget.yml
52+
- template: templates/prep-android-nuget.yml
5353

5454
# Verify depenendencies can be enumerated and downloaded ..
5555
- task: CmdLine@2

.ado/templates/android-build-office.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@ steps:
1717

1818
# Install NuGet
1919
- task: CmdLine@2
20+
displayName: Install NuGet
2021
inputs:
21-
script: mkdir $(System.DefaultWorkingDirectory)/nuget-bin/ && curl -o $(System.DefaultWorkingDirectory)/nuget-bin/nuget.exe https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
22+
script: curl -o $(System.DefaultWorkingDirectory)/nuget-bin/nuget.exe --create-dirs https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
2223

2324
- task: CmdLine@2
2425
displayName: "Rename package to react-native"

0 commit comments

Comments
 (0)