fix: CI stop archipelago service before replacing binary
The running binary locks the file, causing 'Text file busy' on cp. Stop the service, copy, then restart. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
56938eb139
commit
e1bda755f2
@ -19,7 +19,9 @@ jobs:
|
||||
run: |
|
||||
source $HOME/.cargo/env 2>/dev/null || true
|
||||
cargo build --release --manifest-path core/Cargo.toml
|
||||
sudo systemctl stop archipelago 2>/dev/null || true
|
||||
sudo cp core/target/release/archipelago /usr/local/bin/archipelago
|
||||
sudo systemctl start archipelago 2>/dev/null || true
|
||||
|
||||
- name: Build frontend
|
||||
run: cd neode-ui && npm ci && npm run build
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user