# Controls when the action will run. Triggers the workflow on push or pull request # events but only for the master branch on: push: branches: -master -2.3.x pull_request: branches: -master -2.3.x
# A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: # This workflow contains a single job called "build" build: # The type of runner that the job will run on runs-on:ubuntu-latest
# A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checkout source code - uses:actions/checkout@v2 # Install Java 1.8 - uses:actions/setup-java@v1 with: server-id:hengyu java-version:1.8 server-username:MAVEN_USERNAME server-password:MAVEN_PASSWORD # Publish to Apache Maven Central - run:mvn-Bdeploy-Dgpg.skip env: MAVEN_USERNAME:${{secrets.MAVEN_CENTER_USER_NAME}} MAVEN_PASSWORD:${{secrets.MAVEN_CENTER_PASSWORD}}
Options: -V, --version output the version number --colors <n> Number of colors, up to 255, defaults to 80 (default: 80) --compress <n> Compression (quality) level, from 0 (no compression) to 100, defaults to 40 (default: 40) --from <position> Start position, hh:mm:ss or seconds, defaults to 0 --fps <n> Frames Per Second, defaults to 10 (default: 10) -o, --output <file> Output file, defaults to stdout --resize <W:H> Resize output, use -1 when specifying only width or height. `350:100`, `400:-1`, `-1:200` --reverse Reverses movie --speed <n> Movie speed, defaults to 1 (default: 1) --subtitles <filepath> Subtitle filepath to burn to the GIF --text <string> Add some text at the bottom of the movie --to <position> End position, hh:mm:ss or seconds, defaults to end of movie --no-loop Will show every frame once without looping -h, --help output usage information