diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..c0299dc --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,40 @@ +# This is a workflow to verify that Android build is successful. + +name: Android Build test + +# Controls when the workflow will run +on: + # Triggers the workflow on push or pull request events but only for the "master" branch + push: + branches: [ "master", "dev", "branch_hadiyarajesh", "branch_loveleen", "branch_geet", "branch_siddu"] + pull_request: + branches: [ "master", "dev", "branch_hadiyarajesh", "branch_loveleen", "branch_geet", "branch_siddu"] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "build_project" + build_project: + name: Build NoteX Android project + # The type of runner that the job will run on + runs-on: ubuntu-latest + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v3 + - name: set up JDK 11 + uses: actions/setup-java@v3 + with: + distribution: 'temurin' + java-version: 11 + + # Provide required permission to gradle + - name: Change gradle wrapper permissions + run: chmod +x ./gradlew + + # Build Android project + - name: Build Project + run: ./gradlew assemble diff --git a/.gitignore b/.gitignore index 17b4156..9347128 100644 --- a/.gitignore +++ b/.gitignore @@ -16,6 +16,7 @@ local.properties # Android Studio / IntelliJ IDEA *.iws +/.idea /.idea/libraries /.idea/tasks.xml /.idea/caches @@ -24,6 +25,7 @@ local.properties /.idea/modules.xml /.idea/navEditor.xml /.idea/assetWizardSettings.xml +/.idea/misc.xml /out/ .DS_Store diff --git a/.idea/.gitignore b/.idea/.gitignore deleted file mode 100644 index 26d3352..0000000 --- a/.idea/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -# Default ignored files -/shelf/ -/workspace.xml diff --git a/.idea/compiler.xml b/.idea/compiler.xml index fb7f4a8..b589d56 100644 --- a/.idea/compiler.xml +++ b/.idea/compiler.xml @@ -1,6 +1,6 @@ - + \ No newline at end of file diff --git a/.idea/gradle.xml b/.idea/gradle.xml index a2d7c21..c43f067 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -7,6 +7,7 @@