CI: Adjust curl logging, add a job for internal networking tests
This commit is contained in:
parent
4cce350778
commit
b56f53bdc2
2 changed files with 27 additions and 2 deletions
|
|
@ -32,9 +32,9 @@ jobs:
|
|||
- name: Publish to git.jutty.dev package registry
|
||||
run: |
|
||||
version=$(./target/release/en --version)
|
||||
api_root=https://git.jutty.dev/api/
|
||||
api_root=https://git.jutty.dev/api
|
||||
url=$api_root/packages/jutty/generic/en/$version/en-x86_64-linux-gnu
|
||||
|
||||
curl -fsSL \
|
||||
curl -fsSLiv \
|
||||
--user jutty:${{ secrets.GJD_REGISTRY_TOKEN }} \
|
||||
--upload-file target/release/en $url
|
||||
|
|
|
|||
25
.forgejo/workflows/rebound.yaml
Normal file
25
.forgejo/workflows/rebound.yaml
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
on:
|
||||
push
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
runs-on: docker
|
||||
container:
|
||||
image: alpine:latest
|
||||
steps:
|
||||
- name: Install action dependencies
|
||||
run: apk add curl
|
||||
|
||||
- name: Upload to git.jutty.dev package registry
|
||||
run: |
|
||||
payload=/tmp/payload.data
|
||||
api_root=https://git.jutty.dev/api
|
||||
url=$api_root/packages/jutty/generic/tests/v0.0.0/payload.data
|
||||
|
||||
date > $payload
|
||||
cat /dev/random | head | base64 >> $payload
|
||||
sha256sum $payload
|
||||
|
||||
curl -fsSLiv \
|
||||
--user jutty:${{ secrets.GJD_REGISTRY_TOKEN }} \
|
||||
--upload-file $payload $url
|
||||
Loading…
Add table
Add a link
Reference in a new issue