From 8fe0451c94357b056a9b22d5177c5381ce98e14e Mon Sep 17 00:00:00 2001 From: Thomas SAZERAT Date: Fri, 15 Mar 2024 00:57:41 +0100 Subject: [PATCH] Changed the action to try make it works --- .github/workflows/rust.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 8449160..0e3c442 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -22,6 +22,9 @@ jobs: toolchain: stable - name: Build run: cargo build --release --verbose + - name: Check if build successful + run: test -f target/release/your_executable_file + continue-on-error: true - name: Create Release id: create_release uses: softprops/action-gh-release@v1 @@ -29,7 +32,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: files: | - ./target/release/your_executable_file # Change 'your_executable_file' to the name of your executable file + ./target/release/socket_server tag_name: v2.0.0 release_name: Release ${{ github.ref }} body: |