version-check.yml 888 B

1234567891011121314151617181920212223242526
  1. # This is a basic workflow to help you get started with Actions
  2. name: Version Check
  3. # Controls when the action will run. Triggers the workflow on push or pull request
  4. # events but only for the master branch
  5. on: push
  6. # A workflow run is made up of one or more jobs that can run sequentially or in parallel
  7. permissions:
  8. contents: read
  9. jobs:
  10. # This workflow contains a single job called "build"
  11. Version-Check:
  12. # The type of runner that the job will run on
  13. runs-on: ubuntu-latest
  14. # Steps represent a sequence of tasks that will be executed as part of the job
  15. steps:
  16. # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
  17. - uses: actions/checkout@v3
  18. # Runs a single command using the runners shell
  19. - name: compare versions
  20. run: chmod +x .github/workflows/version-check.sh; .github/workflows/version-check.sh