added path
This commit is contained in:
parent
e77aef435a
commit
02188bb6ee
@ -19,13 +19,13 @@ jobs:
|
||||
working-directory: /usr/local/gitea-workflow/workspace/sdlan-lib-rs
|
||||
run: |
|
||||
flock -n build.lock -c '
|
||||
source /home/runner/.bashrc
|
||||
echo $PATH
|
||||
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
|
||||
echo "$HOME/tools/aarch64-linux-musl-cross/bin" >> $GITHUB_PATH
|
||||
git pull
|
||||
rm -rf /usr/local/gitea-workflow/workspace/sdlan-lib-rs/target/x86_64-unknown-linux-musl/debian/*.deb || true
|
||||
rm -rf /usr/local/gitea-workflow/workspace/sdlan-lib-rs/target/aarch64-unknown-linux-musl/debian/*.deb || true
|
||||
make deb-musl
|
||||
make deb-aarch64
|
||||
cargo deb --target x86_64-unknown-linux-musl --deb-revision="2-static"
|
||||
cargo deb --target aarch64-unknown-linux-musl --deb-revision="2-static"
|
||||
echo "built=true" >> $GITHUB_OUTPUT
|
||||
' || {
|
||||
echo "其他编译正在进行中,跳过本次执行"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user