Skip to content

Commit

Permalink
Update build-distributions.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ofek committed May 23, 2024
1 parent 168e8b8 commit abf787d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/build-distributions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,9 @@ jobs:

steps:
- name: Checkout code
if: ${{ !inputs.version }}
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-depth: ${{ inputs.version && 1 || 0 }}

- name: Set up QEMU
if: matrix.job.emulation
Expand Down Expand Up @@ -143,10 +142,9 @@ jobs:

steps:
- name: Checkout code
if: ${{ !inputs.version }}
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-depth: ${{ inputs.version && 1 || 0 }}

- name: Download distribution
run: curl -LO ${{ env.DIST_URL }}/${{ env.DIST_VERSION }}/cpython-${{ env.DIST_PYTHON_VERSION }}+${{ env.DIST_VERSION }}-${{ matrix.job.target }}-install_only.tar.gz
Expand Down

0 comments on commit abf787d

Please sign in to comment.