ki_devops3_test.yml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. # A workflow run is made up of one or more jobs that can run sequentially or in parallel
  17. jobs:
  18. # This workflow contains a single job called "build"
  19. build:
  20. # The type of runner that the job will run on
  21. runs-on: ubuntu-latest
  22. # Steps represent a sequence of tasks that will be executed as part of the job
  23. steps:
  24. # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
  25. - uses: actions/checkout@v2
  26. # Runs a set of commands using the runners shell
  27. - name: Run test
  28. run: |
  29. set -e
  30. echo run test
  31. cd ./Publish/DevOps3/build-bash
  32. bash 10.Test.bash;
  33. echo run test succeed!