Commit bad3325
authored
chore: simplify CI/CD env file handling (#311)
* chore: simplify CI/CD env file handling
- Use single .env file per project instead of variant-specific files
- Move SENTRY_TAG to misc_*.ts files for build variant metadata
- Remove env file copying from iOS Xcode schemes (keep only misc.ts copy)
- Simplify Android build.gradle to use single .env file
- Update GitHub workflows to use env-file secret/variable
- Remove ENV_RELAY_URL (library has default value)
- Update READMEs with clearer setup instructions
This simplifies the build configuration by:
1. AppKit uses vars.APPKIT_ENV_FILE (non-sensitive)
2. WalletKit uses secrets.WALLETKIT_ENV_FILE (contains API key)
* chore: moved appkit env file to secrets
* chore: minor updates
* chore: consolidate CI/CD workflows (12 → 3 files)
- Create unified release-appkit.yaml (replaces 4 dapp workflows)
- Create unified release-walletkit.yaml (replaces 4 wallet workflows)
- Create unified release-pos.yaml (replaces 4 POS workflows)
- Remove unused env-file-path input from base workflows
- Add e2e-build option for S3 uploads (AppKit SDK repo E2E tests)
- Use workflow_dispatch inputs for platform/release-type selection
Benefits:
- 53% fewer workflow files (17 → 8)
- Single source of truth per project
- Better UX with dropdown menus in GitHub Actions
* chore: added empty env check
* chore: created new action to release PoC pos app1 parent 130a541 commit bad3325
File tree
50 files changed
+425
-673
lines changed- .github/workflows
- dapps/W3MWagmi
- android/app
- ios
- scripts
- src
- utils
- wallets/rn_cli_wallet
- android/app
- ios
- scripts
- src
- screens
- utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
50 files changed
+425
-673
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | 30 | | |
35 | 31 | | |
36 | 32 | | |
| |||
47 | 43 | | |
48 | 44 | | |
49 | 45 | | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | 46 | | |
54 | 47 | | |
55 | 48 | | |
56 | 49 | | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | 50 | | |
65 | 51 | | |
66 | 52 | | |
| |||
110 | 96 | | |
111 | 97 | | |
112 | 98 | | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
120 | 111 | | |
121 | 112 | | |
122 | 113 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | 1 | | |
4 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
| |||
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | 42 | | |
47 | 43 | | |
48 | 44 | | |
| |||
63 | 59 | | |
64 | 60 | | |
65 | 61 | | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | 62 | | |
77 | 63 | | |
78 | 64 | | |
| |||
170 | 156 | | |
171 | 157 | | |
172 | 158 | | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
180 | 171 | | |
181 | 172 | | |
182 | 173 | | |
| |||
This file was deleted.
0 commit comments