Skip to content

Commit

Permalink
Merge pull request #2 from HeChuQIU/actions
Browse files Browse the repository at this point in the history
添加 Actions 脚本以进行 CI
  • Loading branch information
HeChuQIU authored Apr 19, 2024
2 parents e6ff749 + b5783ab commit 5c22508
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Build

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
- name: Setup Gradle 8.6
uses: gradle/actions/setup-gradle@v3
with:
gradle-version: 8.6
- name: Build with Gradle 8.6
run: gradle build

0 comments on commit 5c22508

Please sign in to comment.