mirror of
https://github.com/oneclickvirt/backtrace.git
synced 2025-02-23 09:25:40 +08:00
update
This commit is contained in:
parent
0af3ace4ab
commit
1a272b02b1
2
.github/workflows/main.yaml
vendored
2
.github/workflows/main.yaml
vendored
@ -62,7 +62,7 @@ jobs:
|
||||
for file in ./bin/*; do
|
||||
echo "Uploading $file to release..."
|
||||
curl -s -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
|
||||
-H "Content-Type: application/zip" \
|
||||
-H "Content-Type: application/octet-stream" \
|
||||
--data-binary @"$file" \
|
||||
"https://uploads.github.com/repos/oneclickvirt/backtrace/releases/$release_id/assets?name=$(basename "$file")"
|
||||
rm -rf $file
|
||||
|
@ -6,5 +6,6 @@ if [ "$arch" = "x86_64" ]; then
|
||||
else
|
||||
wget -q -O backtrace https://github.com/oneclickvirt/backtrace/releases/output/backtrace-linux-arm64
|
||||
fi
|
||||
chmod 777 backtrace
|
||||
mv backtrace /usr/bin/
|
||||
backtrace
|
Loading…
Reference in New Issue
Block a user