diff --git a/.github/workflows b/.github/workflows deleted file mode 100644 index e420c7d44d..0000000000 --- a/.github/workflows +++ /dev/null @@ -1,4 +0,0 @@ -- name: Upload coverage reports to Codecov - uses: codecov/codecov-action@v3 - env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000000..98a47cb475 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,23 @@ +on: + push: + branches: + - develop +jobs: + my-job: + name: My Job + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Set up JDK 8 for x64 + uses: actions/setup-java@v1 + with: + java-version: 8 + - name: Run the Maven verify phase + run: mvn clean package -DskipTests=true -Dcheckstyle.skip=true + + - name: Cache directory + uses: actions/cache@v3 + with: + path: $HOME/.m2/repository + key: ${{ runner.os }}-cache diff --git a/README.md b/README.md index f12b6e7cff..253fd74a0f 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ #### 微信`Java`开发工具包,支持包括微信支付、开放平台、公众号、企业微信、视频号、小程序等微信功能模块的后端开发。 -