From d35198a63f0dbed1b7d9fe413f1aef6bda33b399 Mon Sep 17 00:00:00 2001 From: Amit Upadhyay Date: Tue, 7 Nov 2023 18:46:44 +0530 Subject: [PATCH] removing controller stuff and .d files from release (#1461) Signed-off-by: Amit Upadhyay --- .github/workflows/release.yml | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b1af5035d6..17843fd0a4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -36,16 +36,7 @@ jobs: - uses: actions/upload-artifact@v2 with: name: linux_musl_x86_64 - path: target/x86_64-unknown-linux-musl/release/${{ env.BINARY_NAME }}* - - name: Build-musl - uses: gmiam/rust-musl-action@9e6a37bf27ecfffb6b92240ea276bea5487fa15d - continue-on-error: false - with: - args: cargo build --target $BUILD_TARGET --release --features controller - - uses: actions/upload-artifact@v2 - with: - name: fastn_controller_linux_musl_x86_64 - path: target/x86_64-unknown-linux-musl/release/${{ env.BINARY_NAME }}* + path: target/x86_64-unknown-linux-musl/release/${{ env.BINARY_NAME }} release-windows: name: Build for Windows runs-on: windows-latest @@ -131,10 +122,6 @@ jobs: with: name: linux_musl_x86_64 path: ~/download/linux_musl - - uses: actions/download-artifact@v2 - with: - name: fastn_controller_linux_musl_x86_64 - path: ~/download/fastn_controller_linux_musl - uses: actions/download-artifact@v2 with: name: windows_x64_latest @@ -149,16 +136,13 @@ jobs: mv ~/download/windows/windows_x64_installer.exe ~/download/windows/fastn_setup.exe mv ~/download/macos/fastn ~/download/macos/fastn_macos_x86_64 mv ~/download/linux_musl/fastn ~/download/linux_musl/fastn_linux_musl_x86_64 - mv ~/download/linux_musl/fastn.d ~/download/linux_musl/fastn_linux_musl_x86_64.d - mv ~/download/fastn_controller_linux_musl/fastn ~/download/fastn_controller_linux_musl/fastn_controller_linux_musl_x86_64 - mv ~/download/fastn_controller_linux_musl/fastn.d ~/download/fastn_controller_linux_musl/fastn_controller_linux_musl_x86_64.d - name: Update .github/RELEASE_TEMPLATE.md run: | sed -i "s/GITHUB_SHA/${GITHUB_SHA}/g" .github/RELEASE_TEMPLATE.md sed -i "s/DATE/$(date)/g" .github/RELEASE_TEMPLATE.md - uses: ncipollo/release-action@v1 with: - artifacts: "~/download/windows/fastn_windows_x86_64.exe,~/download/windows/fastn_setup.exe,~/download/macos/fastn_macos_x86_64,~/download/linux_musl/fastn_linux_musl_x86_64,~/download/linux_musl/fastn_linux_musl_x86_64.d,~/download/fastn_controller_linux_musl/fastn_controller_linux_musl_x86_64,~/download/fastn_controller_linux_musl/fastn_controller_linux_musl_x86_64.d" + artifacts: "~/download/windows/fastn_windows_x86_64.exe,~/download/windows/fastn_setup.exe,~/download/macos/fastn_macos_x86_64,~/download/linux_musl/fastn_linux_musl_x86_64" generateReleaseNotes: true token: ${{ secrets.GITHUB_TOKEN }} tag: ${{ github.event.inputs.releaseTag }}