diff --git a/.gitea/workflows/release-deb.yaml b/.gitea/workflows/release-deb.yaml index 205b5b8..ba193e4 100644 --- a/.gitea/workflows/release-deb.yaml +++ b/.gitea/workflows/release-deb.yaml @@ -19,7 +19,7 @@ jobs: working-directory: /usr/local/gitea-workflow/workspace/sdlan-lib-rs run: | flock -n build.lock -c ' - source ~/.bashrc + source /home/runner/.bashrc 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 diff --git a/Makefile b/Makefile index 9c6e454..9635acc 100755 --- a/Makefile +++ b/Makefile @@ -1,3 +1,6 @@ +SHELL := /bin/bash +.SHELLFLAGS := --login -c + self: libtun-so RUSTFLAGS="-L ." cargo build --release @@ -7,7 +10,6 @@ linux: libtun-so aarch64: libtun-so-aarch64 RUSTFLAGS="-L ." cargo build --release --target aarch64-unknown-linux-gnu - linux-tun: libtun-so RUSTFLAGS="-L ." cargo build --features "tun" --release