aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorMalena Ebert <63863184+malena-ebert-sonarsource@users.noreply.github.com>2020-09-18 16:04:46 +0200
committersonartech <sonartech@sonarsource.com>2020-09-18 20:07:13 +0000
commit50b8c3024111a9e6b99ef94dc04a79684cae5253 (patch)
tree3260482283db67df4159c74e8b343ad5a0bb7940 /.github
parent19a6e3f4be3452ab92614c8151a5208b7d4e8419 (diff)
downloadsonarqube-50b8c3024111a9e6b99ef94dc04a79684cae5253.tar.gz
sonarqube-50b8c3024111a9e6b99ef94dc04a79684cae5253.zip
Use v2 of the github action release process
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/release.yml29
1 files changed, 22 insertions, 7 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 758b6cae498..1e5ba7e936c 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -5,24 +5,39 @@ on:
types:
- published
+env:
+ PYTHONUNBUFFERED: 1
+
jobs:
release:
runs-on: ubuntu-latest
name: Start release process
timeout-minutes: 60
steps:
- # Not sure why this is needed... Fixes issue with running the action.
- - name: Checkout release action
- uses: actions/checkout@v2
- with:
- repository: SonarSource/gh-action_LT_release
- name: Run release action
id: run_release
- uses: SonarSource/gh-action_LT_release@master
+ uses: SonarSource/gh-action_LT_release@v2
with:
distribute: true
+ publish_to_binaries: true
+ attach_artifacts_to_github_release: false
+ run_rules_cov: false
+ slack_channel: sonarqube-build
env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_ORG_TOKEN }}
+ ARTIFACTORY_API_KEY: ${{ secrets.ARTIFACTORY_API_KEY }}
+ BINTRAY_USER: ${{ secrets.BINTRAY_USER }}
+ BINTRAY_TOKEN: ${{ secrets.BINTRAY_TOKEN }}
+ BURGRX_USER: ${{ secrets.BURGRX_USER }}
+ BURGRX_PASSWORD: ${{ secrets.BURGRX_PASSWORD }}
+ CENTRAL_USER: ${{ secrets.CENTRAL_USER }}
+ CENTRAL_PASSWORD: ${{ secrets.CENTRAL_PASSWORD }}
+ CIRRUS_TOKEN: ${{ secrets.CIRRUS_TOKEN }}
+ GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
+ PATH_PREFIX: ${{ secrets.BINARIES_PATH_PREFIX }}
+ GITHUB_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN }}
+ RELEASE_SSH_USER: ${{ secrets.RELEASE_SSH_USER }}
+ RELEASE_SSH_KEY: ${{ secrets.RELEASE_SSH_KEY }}
+ SLACK_API_TOKEN: ${{secrets.SLACK_API_TOKEN }}
- name: Log outputs
if: always()
run: |