Fix error handling in oneview_server_profile to show actual OneView exceptions #72
Workflow file for this run
This file contains hidden or 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
| name: create tag and relese | |
| on: | |
| pull_request: | |
| types: [closed] | |
| jobs: | |
| create-tag: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| if: github.event.pull_request.merged && startsWith(github.head_ref, 'PR') && startsWith(github.base_ref, 'master') | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Bump version and push tag | |
| id: tag_and_prepare_release | |
| uses: anothrNick/[email protected] | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | |
| WITH_V: true | |
| CUSTOM_TAG: "v10.2.0" | |
| - name: Display | |
| run: echo ${{ steps.tag_and_prepare_release.outputs.new_tag }} | |
| - uses: actions/checkout@v2 | |
| - uses: ncipollo/release-action@v1 | |
| with: | |
| name: ${{ steps.tag_and_prepare_release.outputs.new_tag }} | |
| tag: ${{ steps.tag_and_prepare_release.outputs.new_tag }} | |
| body: See the <a href="https://github.com/HewlettPackard/oneview-python/blob/master/CHANGELOG.md">CHANGELOG.md</a> for details. | |
| token: ${{ secrets.GH_TOKEN }} |