Skip to content

Commit 4d12ea3

Browse files
committed
feat(build): Migrate develop Push CircleCI to GithubAction (V2)
1 parent 88d4d9a commit 4d12ea3

File tree

8 files changed

+16
-4
lines changed

8 files changed

+16
-4
lines changed
Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ jobs:
1414
steps:
1515
- uses: actions/checkout@v3
1616

17+
################################
18+
# Update Version Code #
19+
################################
1720
- name: Update Android Version code
1821
run: ./gradlew updateVersionCode
1922

@@ -32,9 +35,16 @@ jobs:
3235
echo "about.commitFull=$(git rev-parse "$GITHUB_SHA")" >> ./app/src/main/assets/about.properties
3336
echo "about.github=https://github.com/glpi-project/android-inventory-agent" >> ./app/src/main/assets/about.properties
3437
35-
- name: Check repo git status
36-
run : git status
38+
- name: Push Updated Version On AndroidManifest
39+
uses: EndBug/add-and-commit@v9
40+
with:
41+
default_author: github_actions
42+
message: "ci(release): update version on android manifest"
43+
3744

45+
##########################################
46+
# Push / Pull translation files #
47+
##########################################
3848
# Push Transifex
3949
- name: Push source file using transifex client
4050
uses: transifex/cli-action@v2
@@ -53,6 +63,10 @@ jobs:
5363
args: pull --force --all --minimum-perc=80
5464
token: ${{ secrets.TX_TOKEN }}
5565

66+
67+
##############################################
68+
# Prepare / Build project APK / AAR / JAR #
69+
##############################################
5670
# Build app
5771
- name: Build with Gradle
5872
run: ./gradlew assemble
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ In this android project we used to:
99

1010
- Deploy to Google play beta
1111
- Deploy to Google play production
12-
- Send message to telegram with success or fail
1312

1413
## How to use
1514

@@ -25,4 +24,3 @@ In Fastfile has our function:
2524

2625
- To sign the apk
2726
- To zip and align the apk
28-
- To send message to telegram

0 commit comments

Comments
 (0)