Skip to content

Commit 56bbf2c

Browse files
committed
fix: reorder release steps to prevent checkout clobbering artifacts
1 parent 5ef785f commit 56bbf2c

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ jobs:
6262
needs: build
6363
runs-on: ubuntu-latest
6464
steps:
65+
- name: Checkout
66+
uses: actions/checkout@v4
67+
6568
- name: Download all artifacts
6669
uses: actions/download-artifact@v4
6770
with:
@@ -76,11 +79,6 @@ jobs:
7679
echo "version=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
7780
fi
7881
79-
- name: Checkout for source tarball
80-
uses: actions/checkout@v4
81-
with:
82-
clean: false
83-
8482
- name: Generate source tarball
8583
run: |
8684
VERSION="${{ steps.version.outputs.version }}"

0 commit comments

Comments
 (0)