ci: upload build artifacts to rustypaste
Some checks failed
Build Release Binaries / build-amd64 (push) Failing after 3m43s
Some checks failed
Build Release Binaries / build-amd64 (push) Failing after 3m43s
Requires PASTE_AUTH and PASTE_URL secrets configured in Forgejo. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -42,11 +42,15 @@ jobs:
|
|||||||
source "$HOME/.cargo/env"
|
source "$HOME/.cargo/env"
|
||||||
cargo test --workspace --lib
|
cargo test --workspace --lib
|
||||||
|
|
||||||
- name: Package + upload
|
- name: Upload to rustypaste
|
||||||
|
env:
|
||||||
|
PASTE_AUTH: ${{ secrets.PASTE_AUTH }}
|
||||||
|
PASTE_URL: ${{ secrets.PASTE_URL }}
|
||||||
run: |
|
run: |
|
||||||
mkdir -p dist
|
tar czf /tmp/wzp-linux-amd64.tar.gz \
|
||||||
tar czf dist/wzp-linux-amd64.tar.gz \
|
|
||||||
-C target/release wzp-relay wzp-client wzp-web wzp-bench
|
-C target/release wzp-relay wzp-client wzp-web wzp-bench
|
||||||
echo "Build artifacts:"
|
ls -lh /tmp/wzp-linux-amd64.tar.gz
|
||||||
ls -lh dist/
|
LINK=$(curl -sF "file=@/tmp/wzp-linux-amd64.tar.gz" \
|
||||||
ls -lh target/release/wzp-relay target/release/wzp-client
|
-H "Authorization: ${PASTE_AUTH}" \
|
||||||
|
"https://${PASTE_URL}")
|
||||||
|
echo "Download: ${LINK}"
|
||||||
|
|||||||
Reference in New Issue
Block a user