Skip to content

Commit fd5d585

Browse files
author
Petr Konecny
committed
chore: removed eas json
1 parent fe2ad32 commit fd5d585

File tree

6 files changed

+16
-79
lines changed

6 files changed

+16
-79
lines changed

.github/actions/update-eas/action.yml

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

.github/workflows/create-dev-build.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -43,21 +43,9 @@ jobs:
4343
version_bump: 'none'
4444
increment: false
4545

46-
- name: Update eas.json
47-
uses: ./.github/actions/update-eas
48-
with:
49-
environment: dev
50-
version: ${{ steps.version.outputs.version }}
51-
vars: ${{ toJson(vars) }}
52-
5346
- name: Build Application
5447
uses: ./.github/actions/build
5548
with:
5649
environment: ${{ github.event.inputs.environment }}
5750
platform: ${{ github.event.inputs.platform }}
5851
auto_submit: false
59-
60-
- name: Revert eas.json changes
61-
if: always()
62-
run: |
63-
git restore eas.json

.github/workflows/create-release.yml

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,6 @@ jobs:
6464
version_bump: ${{ github.event.inputs.version_bump }}
6565
increment: ${{ github.event.inputs.action_type != 'build' }}
6666

67-
- name: Update eas.json
68-
uses: ./.github/actions/update-eas
69-
with:
70-
environment: ${{ github.event.inputs.environment }}
71-
version: ${{ steps.version.outputs.version }}
72-
vars: ${{ toJson(vars) }}
73-
7467
- name: Build Application
7568
if: github.event.inputs.action_type != 'ota_update'
7669
uses: ./.github/actions/build
@@ -82,16 +75,12 @@ jobs:
8275
- name: OTA Release
8376
if: github.event.inputs.action_type == 'ota_update'
8477
uses: ./.github/actions/ota-update
85-
env: ${{ vars }}
78+
env:
79+
VARS: ${{ toJson(vars) }}
8680
with:
8781
channel: ${{ github.event.inputs.environment }}
8882
version: ${{ steps.version.outputs.version }}
8983

90-
- name: Revert eas.json changes
91-
if: always()
92-
run: |
93-
git restore eas.json
94-
9584
- name: Generate Release Notes
9685
if: github.event.inputs.action_type != 'build' && github.event.inputs.version_bump != 'none'
9786
uses: ./.github/actions/release-notes

.github/workflows/production-hotfix-release.yml

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,6 @@ jobs:
4040
version_bump: 'none'
4141
increment: false
4242

43-
- name: Update eas.json
44-
uses: ./.github/actions/update-eas
45-
with:
46-
environment: production
47-
version: ${{ steps.version.outputs.version }}
48-
vars: ${{ toJson(vars) }}
49-
5043
- name: Build and Submit
5144
if: github.event.inputs.action_type == 'build_and_submit'
5245
uses: ./.github/actions/build
@@ -58,16 +51,12 @@ jobs:
5851
- name: OTA Update
5952
if: github.event.inputs.action_type == 'ota_update'
6053
uses: ./.github/actions/ota-update
61-
env: ${{ vars }}
54+
env:
55+
VARS: ${{ toJson(vars) }}
6256
with:
6357
channel: production
6458
version: ${{ steps.version.outputs.version }}
6559

66-
- name: Revert eas.json changes
67-
if: always()
68-
run: |
69-
git restore eas.json
70-
7160
- name: Create hotfix tag
7261
uses: ./.github/actions/create-hotfix-tag
7362
id: hotfix_tag

.github/workflows/production-submit.yml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -34,25 +34,12 @@ jobs:
3434
version_bump: 'none'
3535
increment: false
3636

37-
- name: Update eas.json
38-
uses: ./.github/actions/update-eas
39-
with:
40-
environment: production
41-
version: ${{ steps.version.outputs.version }}
42-
vars: ${{ toJson(vars) }}
43-
4437
- name: Build and Submit
4538
uses: ./.github/actions/build
4639
with:
4740
environment: production
4841
platform: ${{ github.event.inputs.platform }}
4942
auto_submit: true
50-
51-
- name: Revert eas.json changes
52-
if: always()
53-
run: |
54-
git restore eas.json
55-
5643
# Uncomment and add your slack webhook url to send Slack notification after the build is submitted
5744
# - name: Send Slack Notification
5845
# id: slack

eas.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,16 @@
4747
}
4848
}
4949
},
50-
"submit": {}
50+
"submit": {
51+
"staging": {
52+
"ios": {
53+
"ascAppId": "6670311845",
54+
"appleTeamId": "EAVQTDVRT7"
55+
},
56+
"android": {
57+
"track": "internal",
58+
"releaseStatus": "draft"
59+
}
60+
}
61+
}
5162
}

0 commit comments

Comments
 (0)