Skip to content

Commit 5c97f3a

Browse files
authored
chore: remove actions now that they're published (#223)
* chore: remove actions now that they're published * remove deps * update readme
1 parent ffb46ee commit 5c97f3a

File tree

12 files changed

+9
-761
lines changed

12 files changed

+9
-761
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,10 @@ npx @rnef/create-app enterprise
2929

3030
## Adding to existing projects
3131

32-
1. Copy `.github/` files from [`@rnef/template-default`](https://github.com/callstack/rnef/tree/main/templates/rnef-template-default/), [`@rnef/platform-android`](https://github.com/callstack/rnef/tree/main/packages/platform-android/template), and [`@rnef/platform-ios`](https://github.com/callstack/rnef/tree/main/packages/platform-ios/template). They contain necessary actions with remote builds for iOS and Android and sample workflows for running those actions. In the upcoming future we'll release reusable actions so you will only need to integrate them into your workflows.
33-
3432
1. Install deps:
3533

3634
```sh
37-
npm install -D @rnef/cli @rnef/plugin-metro @rnef/platform-android @rnef/platform-ios @actions/core @actions/github
35+
npm install -D @rnef/cli @rnef/plugin-metro @rnef/platform-android @rnef/platform-ios
3836
```
3937

4038
1. Remove `@react-native-community/cli` and related packages.

packages/platform-android/template/.github/actions/rnef-remote-build-android/action.yml

Lines changed: 0 additions & 225 deletions
This file was deleted.

packages/platform-android/template/.github/workflows/remote-build-android.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,10 @@ jobs:
2727
cache: 'npm'
2828

2929
- name: Install dependencies
30-
run: |
31-
# Remove next line after public release
32-
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
33-
npm install
30+
run: npm install
3431

3532
- name: RNEF Remote Build - Android device
36-
uses: ./.github/actions/rnef-remote-build-android
33+
uses: callstackincubator/android@v1
3734
with:
3835
sign: true
3936
variant: release
@@ -57,12 +54,9 @@ jobs:
5754
cache: 'npm'
5855

5956
- name: Install dependencies
60-
run: |
61-
# Remove next line after public release
62-
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
63-
npm install
57+
run: npm install
6458

6559
- name: RNEF Remote Build - Android
66-
uses: ./.github/actions/rnef-remote-build-android
60+
uses: callstackincubator/android@v1
6761
with:
6862
variant: debug

0 commit comments

Comments
 (0)