From b3aaff8143fdd96fc3829738c7abe739204e6c18 Mon Sep 17 00:00:00 2001 From: Lee Smet Date: Fri, 7 Jun 2024 10:55:56 +0200 Subject: [PATCH] Specify manifest-path key for building release bin Since they are no longer part of the workspace this is required for the action to properly find them. Signed-off-by: Lee Smet --- .github/workflows/release.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index e64a353d..057f9a02 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -35,8 +35,6 @@ jobs: runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 - - name: Change directory - run: cd myceliumd - uses: taiki-e/upload-rust-binary-action@v1 with: # Name of the compiled binary, also name of the non-extension part of the produced file @@ -47,6 +45,8 @@ jobs: archive: $bin-$target # (required) GitHub token for uploading assets to GitHub Releases. token: ${{ secrets.GITHUB_TOKEN }} + # Specify manifest since we are in a subdirectory + manifest-path: myceliumd/Cargo.toml # TODO: Figure out the correct matrix setup to have this in a single action upload-assets-myceliumd-private: @@ -65,8 +65,6 @@ jobs: runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 - - name: Change directory - run: cd myceliumd-private - uses: taiki-e/upload-rust-binary-action@v1 with: # Name of the compiled binary, also name of the non-extension part of the produced file @@ -79,3 +77,5 @@ jobs: archive: $bin-$target # (required) GitHub token for uploading assets to GitHub Releases. token: ${{ secrets.GITHUB_TOKEN }} + # Specify manifest since we are in a subdirectory + manifest-path: myceliumd-private/Cargo.toml