feat(sdk): 补充 getService() 原始服务获取方法 #9
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: | |
| push: | |
| branches: [master] | |
| tags: ["v*"] | |
| pull_request: | |
| permissions: | |
| contents: write | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| distribution: zulu | |
| java-version: "21" | |
| cache: gradle | |
| - uses: android-actions/setup-android@v3 | |
| - run: chmod +x gradlew | |
| - run: ./gradlew assembleRelease | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: npatch-remote-api | |
| path: build/outputs/aar/*.aar | |
| - name: Publish tagged release | |
| if: startsWith(github.ref, 'refs/tags/v') | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| files: build/outputs/aar/*.aar |