From a3293bebc354379571ddea5cec3a45a8890ceff5 Mon Sep 17 00:00:00 2001 From: Bhargav Ponnapalli Date: Wed, 18 Dec 2019 14:12:33 +0530 Subject: [PATCH] Update workflow yet again --- .github/workflows/canary.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/canary.yml b/.github/workflows/canary.yml index ce5a6fa925..78af7e828d 100644 --- a/.github/workflows/canary.yml +++ b/.github/workflows/canary.yml @@ -14,6 +14,9 @@ jobs: uses: actions/setup-node@v1.1.0 with: version: 12.x + - name: Get latest tag info + id: latestTag + uses: ./.github/actions/get-latest-tag - run: git config --global user.email "me@imbhargav5.com" - run: git config --global user.name "Bhargav Ponnapalli" - name: Installs yarn @@ -37,10 +40,6 @@ jobs: uses: ./.github/actions/ref-matches-branch with: name: master - - name: Get latest tag info - id: latestTag - if: steps.is_master.outputs.result == 1 - uses: ./.github/actions/get-latest-tag - name: Version docusaurus if: steps.is_master.outputs.result == 1 run: cd packages/docusaurus && yarn run docs-version ${{steps.latestTag.outputs.latest}}