Skip to content

Commit

Permalink
Specify manifest-path key for building release bin
Browse files Browse the repository at this point in the history
Since they are no longer part of the workspace this is required for the
action to properly find them.

Signed-off-by: Lee Smet <[email protected]>
  • Loading branch information
LeeSmet committed Jun 7, 2024
1 parent b73dd06 commit b3aaff8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand All @@ -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
Expand All @@ -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

0 comments on commit b3aaff8

Please sign in to comment.