From 7abda75384127559330c501b701e1c2c41f6d2f9 Mon Sep 17 00:00:00 2001 From: okaneco <47607823+okaneco@users.noreply.github.com> Date: Tue, 30 Mar 2021 18:25:07 -0400 Subject: [PATCH] Change hyphen to underscore in CD action --- .github/workflows/rust-cd.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/rust-cd.yml b/.github/workflows/rust-cd.yml index 3900cf1..e7b2127 100644 --- a/.github/workflows/rust-cd.yml +++ b/.github/workflows/rust-cd.yml @@ -74,7 +74,7 @@ jobs: run: | cd target/${{ matrix.platform.target }}/release ####### reduce binary size by removing debug symbols ####### - BINARY_NAME=kmeans-colors${{ matrix.platform.binary-postfix }} + BINARY_NAME=kmeans_colors${{ matrix.platform.binary-postfix }} if [[ ${{ matrix.platform.target }} == aarch64-unknown-linux-gnu ]]; then GCC_PREFIX="aarch64-linux-gnu-" else @@ -86,7 +86,7 @@ jobs: fi ########## create tar.gz ########## - RELEASE_NAME=kmeans-colors-${GITHUB_REF/refs\/tags\//}-${{ matrix.platform.os-name }}-${{ matrix.platform.architecture }} + RELEASE_NAME=kmeans_colors-${GITHUB_REF/refs\/tags\//}-${{ matrix.platform.os-name }}-${{ matrix.platform.architecture }} tar czvf $RELEASE_NAME.tar.gz $BINARY_NAME ########## create sha256 ########## if [[ ${{ runner.os }} == 'Windows' ]]; then @@ -99,7 +99,7 @@ jobs: uses: softprops/action-gh-release@v1 with: files: | - target/${{ matrix.platform.target }}/release/kmeans-colors-*.tar.gz - target/${{ matrix.platform.target }}/release/kmeans-colors-*.sha256 + target/${{ matrix.platform.target }}/release/kmeans_colors-*.tar.gz + target/${{ matrix.platform.target }}/release/kmeans_colors-*.sha256 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}