短信新增加阿里云V3及优化短信config 配置 #49
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build | |
| on: | |
| pull_request: | |
| branches: | |
| - dev | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| jdk-version: | |
| - 17 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Java | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: "adopt" | |
| java-version: ${{ matrix.jdk-version }} | |
| cache: "maven" | |
| - name: Compile | |
| run: | | |
| sed -i.bak '/<repositories>/,/<\/repositories>/d' pom.xml | |
| sed -i.bak '/<pluginRepositories>/,/<\/pluginRepositories>/d' pom.xml | |
| mvn -B compile --file pom.xml |