File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 28
28
- name : Publish Crates
29
29
env :
30
30
CARGO_REGISTRY_TOKEN : ${{ secrets.CARGO_REGISTRY_TOKEN }}
31
- PATCH : ${{ github.run_number }}
31
+ RUN_NUMBER : ${{ github.run_number }}
32
32
shell : bash
33
33
run : |
34
34
git config --global user.email "runner@gha.local"
53
53
# Remove library crates from the workspaces so we don't auto-publish them as well
54
54
sed -i 's/ "lib\/\*",//' ./Cargo.toml
55
55
find crates/rust-analyzer -type f -name '*.rs' -exec sed -i 's/rust_analyzer/ra_ap_rust_analyzer/g' {} +
56
- cargo workspaces publish --yes --force '*' --exact --no-git-commit --allow-dirty --skip-published custom 0.0.$PATCH
56
+ cargo workspaces publish --yes --force '*' --exact --no-git-commit --allow-dirty --skip-published custom 0.0.$(($RUN_NUMBER + 133))
You can’t perform that action at this time.
0 commit comments