From 7721c3eeab3202e91fb9c87dfaec4ba3a7b4d0df Mon Sep 17 00:00:00 2001 From: Malena Ebert <63863184+malena-ebert-sonarsource@users.noreply.github.com> Date: Tue, 25 Aug 2020 13:46:29 +0200 Subject: [PATCH] Use v2 of the github action release process --- .github/workflows/release.yml | 27 ++++++++++++++++++++------- 1 file changed, 20 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b0499e19ead..28d3656f967 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,23 +5,36 @@ on: types: - published +env: + PYTHONUNBUFFERED: 1 + jobs: release: runs-on: ubuntu-latest name: Start release process 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 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 }} - name: Log outputs if: always() run: | -- 2.39.5