mirror of
https://github.com/oneclickvirt/backtrace.git
synced 2025-02-23 17:35:39 +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
|
for file in ./bin/*; do
|
||||||
echo "Uploading $file to release..."
|
echo "Uploading $file to release..."
|
||||||
curl -s -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
|
curl -s -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
|
||||||
-H "Content-Type: application/zip" \
|
-H "Content-Type: application/octet-stream" \
|
||||||
--data-binary @"$file" \
|
--data-binary @"$file" \
|
||||||
"https://uploads.github.com/repos/oneclickvirt/backtrace/releases/$release_id/assets?name=$(basename "$file")"
|
"https://uploads.github.com/repos/oneclickvirt/backtrace/releases/$release_id/assets?name=$(basename "$file")"
|
||||||
rm -rf $file
|
rm -rf $file
|
||||||
|
@ -6,5 +6,6 @@ if [ "$arch" = "x86_64" ]; then
|
|||||||
else
|
else
|
||||||
wget -q -O backtrace https://github.com/oneclickvirt/backtrace/releases/output/backtrace-linux-arm64
|
wget -q -O backtrace https://github.com/oneclickvirt/backtrace/releases/output/backtrace-linux-arm64
|
||||||
fi
|
fi
|
||||||
|
chmod 777 backtrace
|
||||||
mv backtrace /usr/bin/
|
mv backtrace /usr/bin/
|
||||||
backtrace
|
backtrace
|
Loading…
Reference in New Issue
Block a user