mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Github Actions: another fix for the levitate workflow (#43659)
* chore: link to the actual workflow step * chore: make the "Detect" workflow fail if there were any breaking changes * chore: stop making the reporting workflow fail on breaking changes * fix: fix typo (`mesage` -> `message`)
This commit is contained in:
parent
2425828a0b
commit
ef35fd4069
@ -6,6 +6,8 @@ jobs:
|
||||
build:
|
||||
name: Detect
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
GITHUB_STEP_NUMBER: 7
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
@ -35,15 +37,18 @@ jobs:
|
||||
env:
|
||||
FORCE_COLOR: 3
|
||||
GITHUB_JOB_LINK: ${{ steps.job.outputs.link }}
|
||||
GITHUB_STEP_NUMBER: 7
|
||||
|
||||
- name: Persisting the check output
|
||||
run: |
|
||||
mkdir -p ./levitate
|
||||
echo "{ \"exit_code\": ${{ steps.breaking-changes.outputs.is_breaking }}, \"message\": \"${{ steps.breaking-changes.outputs.mesage }}\", \"job_link\": \"${{ steps.job.outputs.link }}\" }" > ./levitate/result.json
|
||||
echo "{ \"exit_code\": ${{ steps.breaking-changes.outputs.is_breaking }}, \"message\": \"${{ steps.breaking-changes.outputs.message }}\", \"job_link\": \"${{ steps.job.outputs.link }}#step:${GITHUB_STEP_NUMBER}\" }" > ./levitate/result.json
|
||||
|
||||
- name: Upload check output as artifact
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: levitate
|
||||
path: levitate/
|
||||
|
||||
- name: Exit
|
||||
run: exit ${{ steps.breaking-changes.outputs.is_breaking }}
|
||||
shell: bash
|
||||
|
@ -160,7 +160,4 @@ jobs:
|
||||
team_reviewers: ['grafana/plugins-platform-frontend']
|
||||
});
|
||||
|
||||
- name: Exit
|
||||
run: exit ${{ steps.levitate-run.outputs.exit_code }}
|
||||
shell: bash
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user