Skip to content

Commit 1751f4f

Browse files
authored
Create convert-to-test.yml
1 parent 414fda3 commit 1751f4f

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Convert branch to test release
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
convert:
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- name: Checkout branch
12+
uses: actions/checkout@v4
13+
with:
14+
ref: ${{ github.ref }}
15+
16+
- name: Modify files for test release
17+
run: |
18+
# Change package name in google-services.json
19+
sed -i 's/com.eveningoutpost.dexdrip/com.eveningoutpost.dexdrip.test/g' app/google-services.json
20+
21+
- name: Commit changes
22+
run: |
23+
git config user.name "github-actions"
24+
git config user.email "actions@github.com"
25+
git add .
26+
git commit -m "Convert branch to test release"
27+
git push

0 commit comments

Comments
 (0)