You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

release.yml 862B

1234567891011121314151617181920212223242526272829303132
  1. name: sonar-release
  2. # This workflow is triggered when publishing a new github release
  3. on:
  4. release:
  5. types:
  6. - published
  7. jobs:
  8. sonar_release:
  9. runs-on: ubuntu-latest
  10. name: Start release process
  11. steps:
  12. - name: Checkout release action
  13. uses: actions/checkout@v2
  14. with:
  15. repository: SonarSource/gh-action_LT_release
  16. - name: Scanner release
  17. id: scanner_release
  18. with:
  19. distribute: true
  20. attach_artifacts_to_github_release: true
  21. env:
  22. GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
  23. # Put your action repo here
  24. uses: SonarSource/gh-action_LT_release@master
  25. - name: Check outputs
  26. if: always()
  27. run: |
  28. echo "${{ steps.scanner_release.outputs.releasability }}"
  29. echo "${{ steps.scanner_release.outputs.release }}"