Skip to content

Commit

Permalink
添加构建工作流 (#2)
Browse files Browse the repository at this point in the history
* 添加工作流
* 添加上传构建
  • Loading branch information
Taskeren authored Oct 12, 2022
1 parent 146011c commit 6ecb9fb
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Explode Build Test

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

permissions:
contents: read

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
- name: Build with Gradle
uses: gradle/gradle-build-action@v2
with:
arguments: build -x test
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: Explode
path: |
explode-all/build/libs/
explode-proxy/build/libs/

0 comments on commit 6ecb9fb

Please sign in to comment.