Skip to content

Commit

Permalink
ci: Create build.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Tien Yu Lin <[email protected]>
  • Loading branch information
Xanonymous-GitHub authored Jul 14, 2024
1 parent c703b32 commit 24259fc
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# This is a basic workflow to help you get started with Actions

name: Build

# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "main" branch
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build-project:
runs-on: ubuntu-latest
steps:
- name: Checkout project sources
uses: actions/checkout@v4

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
build-scan-publish: true
build-scan-terms-of-use-url: "https://gradle.com/terms-of-service"
build-scan-terms-of-use-agree: "yes"

- name: Run build
run: ./gradlew build

0 comments on commit 24259fc

Please sign in to comment.