From 50e0ffc9afdaeadfcf7ed440e8fac3678ab95f69 Mon Sep 17 00:00:00 2001 From: lynnux Date: Sat, 12 Mar 2022 22:00:57 +0800 Subject: [PATCH] try fix build --- .github/workflows/rust.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 4d80e06..6a6d82b 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -10,12 +10,12 @@ name: Create Release env: # Could, potentially automatically parse # the bin name, but let's do it automatically for now. - RELEASE_BIN: gh-actions-template + RELEASE_BIN: rgpre # Space separated paths to include in the archive. # Start relative paths with a dot if you don't want # paths to be preserved. Use "/" as a delimiter. - RELEASE_ADDS: README.md LICENSE + RELEASE_ADDS: README.md CARGO_TERM_COLOR: always @@ -48,11 +48,11 @@ jobs: run: mkdir artifacts - name: Create archive for Linux - run: 7z a -ttar -so -an ./target/release/${{ env.RELEASE_BIN }} ${{ env.RELEASE_ADDS }} | 7z a -si ./artifacts/${{ env.RELEASE_BIN }}-linux-x86_64.tar.gz + run: 7z a -ttar -so -an ./target/release/${{ env.RELEASE_BIN }} | 7z a -si ./artifacts/${{ env.RELEASE_BIN }}-linux-x86_64.tar.gz if: matrix.os == 'ubuntu-latest' - name: Create archive for Windows - run: 7z a -tzip ./artifacts/${{ env.RELEASE_BIN }}-windows-x86_64.zip ./target/release/${{ env.RELEASE_BIN }}.exe ${{ env.RELEASE_ADDS }} + run: 7z a -tzip ./artifacts/${{ env.RELEASE_BIN }}-windows-x86_64.zip ./target/release/${{ env.RELEASE_BIN }}.exe if: matrix.os == 'windows-latest' - name: Install p7zip @@ -61,7 +61,7 @@ jobs: if: matrix.os == 'macos-latest' - name: Create archive for MacOS - run: 7z a -tzip ./artifacts/${{ env.RELEASE_BIN }}-mac-x86_64.zip ./target/release/${{ env.RELEASE_BIN }} ${{ env.RELEASE_ADDS }} + run: 7z a -tzip ./artifacts/${{ env.RELEASE_BIN }}-mac-x86_64.zip ./target/release/${{ env.RELEASE_BIN }} if: matrix.os == 'macos-latest' # This will double-zip