-
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ce9a165
commit cb67ccd
Showing
2 changed files
with
60 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
#.github/workflows/basic.yaml | ||
name: task - validate commit on master | ||
on: | ||
push: | ||
branches: [ master ] | ||
|
||
jobs: | ||
basic_job: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
packages: write | ||
|
||
steps: | ||
- name: Setup actions. | ||
uses: actions/checkout@v2 | ||
|
||
- name: set up JDK 11 | ||
uses: actions/setup-java@v2 | ||
with: | ||
java-version: '11' | ||
distribution: 'temurin' | ||
cache: gradle | ||
|
||
- name: Generate AAR and APK files | ||
if: always() | ||
run: ./gradlew assembleDebug | ||
|
||
- name: Upload AAR files | ||
if: always() | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: artifacts.zip | ||
path: | | ||
app/build/outputs/apk/debug/app-debug.apk | ||
dog_network/build/outputs/aar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: CI CD Pipelines | ||
on: | ||
push: | ||
branches: ["master"] | ||
pull_request: | ||
branches: ["master"] | ||
|
||
workflow_dispatch: | ||
|
||
jobs: | ||
demo_job: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Display Hello Text | ||
run: echo Hello World | ||
|
||
- name: Run Test | ||
run: | | ||
echo Running Unit Tests | ||
echo Running Ui Tests | ||
echo Test Completed |