🐳 [动态属性] 增加 ifNull 方法,如果动态属性值为 null,则执行给定的操作,否则不执行任何操作。执行给定操作后将… #7
This file contains 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: Deploy Javadoc | |
# | |
#on: | |
# push: | |
# branches: | |
# - main | |
# | |
#jobs: | |
# publish: | |
# runs-on: ubuntu-latest | |
# permissions: | |
# contents: write # if you have a protection rule on your repository, you'll need to give write permission to the workflow. | |
# steps: | |
# - name: Deploy JavaDoc 🚀 | |
# uses: MathieuSoysal/[email protected] | |
# with: | |
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# javadoc-branch: javadoc | |
# java-version: 21 | |
# target-folder: javadoc # url will be https://<username>.github.io/<repo>/javadoc, This can be left as nothing to generate javadocs in the root folder. | |
# project: maven # or gradle | |
# # subdirectories: moduleA moduleB #for subdirectories support, needs to be run with custom command |