ki_devops3_test.yml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # This is a basic workflow to help you get started with Actions
  2. name: ki_devops3_test
  3. # Controls when the action will run.
  4. on:
  5. #push:
  6. # Triggers the workflow on push events for the branches start with release
  7. #branches:: [ 'release/**' ]
  8. # Triggers the workflow on push events but only for the master branch
  9. #branches: [ master ]
  10. # Triggers the workflow on push tag
  11. #tags: ['*']
  12. # Allows you to run this workflow manually from the Actions tab
  13. workflow_dispatch:
  14. pull_request:
  15. types: [opened, synchronize, reopened]
  16. merge_group:
  17. types: [code_test]
  18. # A workflow run is made up of one or more jobs that can run sequentially or in parallel
  19. jobs:
  20. # This workflow contains a single job called "build"
  21. build:
  22. # The type of runner that the job will run on
  23. runs-on: ubuntu-latest
  24. # Steps represent a sequence of tasks that will be executed as part of the job
  25. steps:
  26. # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
  27. - uses: actions/checkout@v4
  28. # Runs a set of commands using the runners shell
  29. - name: Run test
  30. run: |
  31. set -e
  32. echo run test
  33. cd ./Publish/DevOps3/build-bash
  34. bash 10.Test.bash;
  35. echo run test succeed!