Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
build bins separately
  • Loading branch information
EgorPopelyaev committed May 24, 2024
commit 7aa822d6724e8a68c4960b4d78062bbe238a360d
12 changes: 7 additions & 5 deletions .github/workflows/release-30_publish_release_draft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,13 @@ jobs:

- name: Build ${{ matrix.binary }} binary
run: |
package=${{ matrix.binary }}
[[ ${{ matrix.binary }} =~ chain-spec-builder ]] && package=staging-${{ matrix.binary }}

cargo build --locked --profile=production -p ${package} --bin ${{ matrix.binary }}
target/production/${{ matrix.binary }} --version
if [[ ${{ matrix.binary }} =~ chain-spec-builder ]]; then
cargo build --locked --profile=production -p staging-${{ matrix.binary }} --bin ${{ matrix.binary }}
target/production/${{ matrix.binary }} -h
else
cargo build --locked --profile=production -p ${{ matrix.binary }}
target/production/${{ matrix.binary }} --version
fi

- name: Upload ${{ matrix.binary }} binary
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
Expand Down