Skip to content

Commit 93102fa

Browse files
committed
fix renaming
1 parent bf19305 commit 93102fa

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/ci_dustdds.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,10 @@ jobs:
1818
uses: actions/checkout@v4
1919
- name: Build executable
2020
run: cargo build --package dust_dds_shape_main_linux --release
21-
- name: Determine DustDDS version
22-
run: version=$( cargo tree --package dust_dds --depth 0 --prefix none --frozen | tr -d 'dust_dds v' )
23-
- name: Add version to executable name
24-
run: cp ./target/release/dust_dds_shape_main_linux ./dust_dds-${version}_shape_main_linux
25-
- name: Zip executable
21+
- name: Rename executable
2622
run: |
23+
version=$( cargo tree --package dust_dds --depth 0 --prefix none | tr -d 'dust_dds v' )
24+
cp ./target/release/dust_dds_shape_main_linux ./dust_dds-${version}_shape_main_linux
2725
mkdir artifacts
2826
zip --junk-paths artifacts/dust_dds-${version}_shape_main_linux.zip ./dust_dds-${version}_shape_main_linux
2927
- name: Upload executable artifact

0 commit comments

Comments
 (0)