From 080779c389f688e83c999484682b33a88802fd7a Mon Sep 17 00:00:00 2001 From: Nathan Bridgewater Date: Tue, 30 Jul 2024 11:55:40 -0500 Subject: [PATCH] tweaks --- .github/workflows/version.yaml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/version.yaml b/.github/workflows/version.yaml index ccf05f7..c93a8ab 100644 --- a/.github/workflows/version.yaml +++ b/.github/workflows/version.yaml @@ -45,9 +45,6 @@ jobs: bump_version: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - with: - ref: ${{ inputs.git_ref_name }} - name: Use Node.js uses: actions/setup-node@v4 with: @@ -55,11 +52,11 @@ jobs: cache: ${{ inputs.node_cache }} registry-url: ${{ inputs.node_registry_url }} scope: ${{ inputs.node_scope }} - - name: 'Pull latest' - run: | - git pull origin ${{ inputs.git_ref_name }} + - uses: actions/checkout@v4 + with: + ref: ${{ inputs.git_ref_name }} - name: 'Read current package version' - uses: iwsllc/actions/read-package-version@main + uses: iwsllc/read-package-version@main with: workspace: ${{ inputs.version_workspace }} - name: 'Bump version'