Skip to content

Commit 7010220

Browse files
committed
ci: first publish, then download
Avoids Cargo finding a dirty dir.
1 parent 4ab89df commit 7010220

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,14 @@ jobs:
6161
runs-on: ubuntu-latest
6262
steps:
6363
- uses: actions/checkout@v4
64-
- uses: actions/download-artifact@v4
65-
with: { name: bin-linux-x86_64, path: dist/ }
66-
- uses: actions/download-artifact@v4
67-
with: { name: bin-macos-arm64, path: dist/ }
6864
- name: Publish crate
6965
run: cargo publish --locked
7066
env:
7167
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
68+
- uses: actions/download-artifact@v4
69+
with: { name: bin-linux-x86_64, path: dist/ }
70+
- uses: actions/download-artifact@v4
71+
with: { name: bin-macos-arm64, path: dist/ }
7272
- name: Create GitHub Release with all binaries
7373
run: |
7474
VERSION=${GITHUB_REF##*/}

0 commit comments

Comments
 (0)