gitea step
This commit is contained in:
parent
8f7752018b
commit
9a57fa9051
@ -13,14 +13,16 @@ jobs:
|
||||
build:
|
||||
runs-on: self-hosted
|
||||
steps:
|
||||
- name: Add Path
|
||||
run: |
|
||||
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
|
||||
echo "$HOME/tools/aarch64-linux-musl-cross/bin" >> $GITHUB_PATH
|
||||
- name: TAG推送自动编译
|
||||
id: compile
|
||||
shell: bash
|
||||
working-directory: /usr/local/gitea-workflow/workspace/sdlan-lib-rs
|
||||
run: |
|
||||
flock -n build.lock -c '
|
||||
echo "$HOME/.cargo/bin" >> $GITEA_PATH
|
||||
echo "$HOME/tools/aarch64-linux-musl-cross/bin" >> $GITEA_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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user