Skip to content

Commit 47c57a4

Browse files
βœ… github_action added
1 parent fa00a55 commit 47c57a4

File tree

4 files changed

+46
-3
lines changed

4 files changed

+46
-3
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: GitHub Actions Demo
2+
on:
3+
push:
4+
paths:
5+
- '**.yml'
6+
branches:
7+
- main
8+
pull_request:
9+
branches:
10+
- main
11+
jobs:
12+
Explore-GitHub-Actions:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- run: echo "πŸŽ‰ The job was automatically triggered by a ${{ github.event_name }} event."
16+
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
17+
- run: echo "πŸ”Ž The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
18+
- name: Check out repository code
19+
uses: actions/checkout@v2
20+
- run: echo "πŸ’‘ The ${{ github.repository }} repository has been cloned to the runner."
21+
- run: echo "πŸ–₯️ The workflow is now ready to test your code on the runner."
22+
- name: List files in the repository
23+
run: |
24+
ls ${{ github.workspace }}
25+
- run: echo "🍏 This job's status is ${{ job.status }}."
26+
- uses: actions/checkout@v1
27+
28+
- name: Set Up JDK // 1
29+
uses: actions/setup-java@v1
30+
with:
31+
java-version: 11
32+
33+
- name: Change wrapper permissions // 2
34+
run: chmod +x ./gradlew
35+
36+
- name: Run Tests // 3
37+
run: ./gradlew test
38+
39+
- name: Build Project // 4
40+
run: ./gradlew assemble

β€Ž.idea/.gitignoreβ€Ž

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€Žapp/build.gradleβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ dependencies {
4747
implementation 'androidx.core:core-ktx:1.6.0'
4848
implementation 'androidx.appcompat:appcompat:1.3.1'
4949
implementation 'com.github.bumptech.glide:glide:4.12.0'
50-
annotationProcessor 'com.github.bumptech.glide:compiler:4.11.0'
50+
annotationProcessor 'com.github.bumptech.glide:compiler:4.12.0'
5151
implementation 'com.google.android.material:material:1.4.0'
52-
implementation 'androidx.constraintlayout:constraintlayout:2.1.0'
52+
implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
5353
implementation 'pub.devrel:easypermissions:3.0.0'
5454
implementation 'com.github.jaiselrahman:FilePicker:1.3.2'
5555
implementation 'com.kovachcode:timePickerWithSeconds:1.0.1'

β€Žbuild.gradleβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ buildscript {
77
google()
88
}
99
dependencies {
10-
classpath 'com.android.tools.build:gradle:7.0.2'
10+
classpath 'com.android.tools.build:gradle:7.0.4'
1111
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1212
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
1313
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.0"

0 commit comments

Comments
Β (0)