mirror of
https://github.com/threefoldtech/mycelium.git
synced 2026-03-29 07:39:51 +00:00
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 <lee.smet@hotmail.com>
This commit is contained in:
8
.github/workflows/release.yaml
vendored
8
.github/workflows/release.yaml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user