From 5c727fc9af619d537186e841fae8e4c2b9fcf4bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Busi?= Date: Thu, 12 Sep 2019 15:10:54 +0200 Subject: [PATCH] Move sonar analisys before pypi push --- .github/workflows/push_on_master.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/push_on_master.yml b/.github/workflows/push_on_master.yml index 6770fcf4..b7682dd6 100644 --- a/.github/workflows/push_on_master.yml +++ b/.github/workflows/push_on_master.yml @@ -24,16 +24,16 @@ jobs: uses: actions/docker/cli@master with: args: run -i tartiflette make test-unit - - name: build and publish to pypi - uses: ./.github/actions/pypi/ - env: - TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }} - TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }} - name: SonarCloud Scan uses: sonarsource/sonarcloud-github-action@master env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + - name: build and publish to pypi + uses: ./.github/actions/pypi/ + env: + TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }} + TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }} - name: set version and changelog uses: ./.github/actions/shell/ if: github.ref == 'refs/heads/master'