事件触发时,增加链式Action的抽象实现,让状态流转时,可以执行多个动作 #273
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
# Quickstart for GitHub Actions | |
# https://docs.github.com/en/actions/quickstart | |
name: Strong CI with multiply java versions | |
on: [ push, pull_request, workflow_dispatch ] | |
jobs: | |
test: | |
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#choosing-github-hosted-runners | |
runs-on: ubuntu-latest | |
timeout-minutes: 20 | |
name: test by multiply java versions | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Setup Java | |
uses: actions/setup-java@v4 | |
with: | |
# https://github.com/actions/setup-java?tab=readme-ov-file#install-multiple-jdks | |
java-version: | | |
17 | |
21 | |
22 | |
distribution: zulu | |
cache: maven | |
- run: scripts/integration_test | |
env: | |
JAVA17_HOME: ${{ env.JAVA_HOME_17_X64 }} | |
JAVA21_HOME: ${{ env.JAVA_HOME_21_X64 }} | |
JAVA22_HOME: ${{ env.JAVA_HOME_22_X64 }} | |
- name: remove cola self maven install files | |
run: rm -rf $HOME/.m2/repository/com/alibaba/{cola,craftsman} |