Skip to content

Commit

Permalink
Improve the build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
NipunaRanasinghe committed May 29, 2024
1 parent 3666d90 commit 5071a8b
Showing 1 changed file with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
name: Daily Build
name: Build

on:
schedule:
- cron: '0 0 * * *' # Runs every day at midnight UTC
push:
branches:
- master
- 2.[0-9]+.x

jobs:
build-and-test:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.head_ref }}-ubuntu-build
cancel-in-progress: true

steps:
- name: Checkout Repository
uses: actions/checkout@v3
Expand All @@ -21,10 +25,5 @@ jobs:
java-version: 11
distribution: 'temurin'

- name: Set up Gradle
uses: gradle/gradle-build-action@v2
with:
arguments: assemble

- name: Build
run: ./gradlew build

0 comments on commit 5071a8b

Please sign in to comment.