net: return error instead of panic on receiving unexpected target
This commit is contained in:
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@@ -118,7 +118,7 @@ jobs:
|
||||
run: |
|
||||
export CFG_COMMIT_HASH=`git log --pretty=format:'%h' -n 1`
|
||||
export CFG_COMMIT_DATE=`git log --format="%ci" -n 1`
|
||||
cargo build --release --target ${{ matrix.target }} -p leaf-bin
|
||||
cargo build --release --target ${{ matrix.target }} -p leaf-cli
|
||||
|
||||
- name: rename and compress artifacts
|
||||
run: |
|
||||
|
||||
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -91,7 +91,7 @@ jobs:
|
||||
run: |
|
||||
export CFG_COMMIT_HASH=`git log --pretty=format:'%h' -n 1`
|
||||
export CFG_COMMIT_DATE=`git log --format="%ci" -n 1`
|
||||
cargo build --release --target ${{ matrix.target }} -p leaf-bin
|
||||
cargo build --release --target ${{ matrix.target }} -p leaf-cli
|
||||
|
||||
- name: rename and compress artifacts
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user