From af2523aa6f078d60f46e17d0edbcaad1e9e404c3 Mon Sep 17 00:00:00 2001 From: Joseph Flinn <58369717+joseph-flinn@users.noreply.github.com> Date: Thu, 30 Jun 2022 10:26:35 -0700 Subject: [PATCH] switching the order of the checkout and branch check to solve cli release isssue (#3016) --- .github/workflows/release-browser.yml | 6 +++--- .github/workflows/release-cli.yml | 6 +++--- .github/workflows/release-desktop.yml | 6 +++--- .github/workflows/release-web.yml | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/release-browser.yml b/.github/workflows/release-browser.yml index 671d1b4b79..b18002f1d4 100644 --- a/.github/workflows/release-browser.yml +++ b/.github/workflows/release-browser.yml @@ -25,6 +25,9 @@ jobs: outputs: release-version: ${{ steps.version.outputs.version }} steps: + - name: Checkout repo + uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2 + - name: Branch check if: ${{ github.event.inputs.release_type != 'Dry Run' }} run: | @@ -35,9 +38,6 @@ jobs: exit 1 fi - - name: Checkout repo - uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 - - name: Check Release Version id: version uses: bitwarden/gh-actions/release-version-check@ea9fab01d76940267b4147cc1c4542431246b9f6 diff --git a/.github/workflows/release-cli.yml b/.github/workflows/release-cli.yml index 909476aa26..fe9b02f2a7 100644 --- a/.github/workflows/release-cli.yml +++ b/.github/workflows/release-cli.yml @@ -25,6 +25,9 @@ jobs: outputs: release-version: ${{ steps.version.outputs.version }} steps: + - name: Checkout repo + uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2 + - name: Branch check if: ${{ github.event.inputs.release_type != 'Dry Run' }} run: | @@ -35,9 +38,6 @@ jobs: exit 1 fi - - name: Checkout repo - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2 - - name: Check Release Version id: version uses: bitwarden/gh-actions/release-version-check@ea9fab01d76940267b4147cc1c4542431246b9f6 diff --git a/.github/workflows/release-desktop.yml b/.github/workflows/release-desktop.yml index e1bc223c2f..189f6a5957 100644 --- a/.github/workflows/release-desktop.yml +++ b/.github/workflows/release-desktop.yml @@ -25,6 +25,9 @@ jobs: release-version: ${{ steps.version.outputs.version }} release-channel: ${{ steps.release-channel.outputs.channel }} steps: + - name: Checkout repo + uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2 + - name: Branch check if: ${{ github.event.inputs.release_type != 'Dry Run' }} run: | @@ -35,9 +38,6 @@ jobs: exit 1 fi - - name: Checkout repo - uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4 - - name: Check Release Version id: version uses: bitwarden/gh-actions/release-version-check@ea9fab01d76940267b4147cc1c4542431246b9f6 diff --git a/.github/workflows/release-web.yml b/.github/workflows/release-web.yml index 77495e2fa0..3dd5971c90 100644 --- a/.github/workflows/release-web.yml +++ b/.github/workflows/release-web.yml @@ -22,6 +22,9 @@ jobs: release_version: ${{ steps.version.outputs.version }} tag_version: ${{ steps.version.outputs.tag }} steps: + - name: Checkout repo + uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2 + - name: Branch check if: ${{ github.event.inputs.release_type != 'Dry Run' }} run: | @@ -32,9 +35,6 @@ jobs: exit 1 fi - - name: Checkout repo - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2 - - name: Check Release Version id: version uses: bitwarden/gh-actions/release-version-check@8f055ef543c7433c967a1b9b04a0f230923233bb