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