Cleanup CI testing files
This commit is contained in:
parent
b56f53bdc2
commit
a3da368573
4 changed files with 3 additions and 28 deletions
|
|
@ -35,6 +35,6 @@ jobs:
|
||||||
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
|
url=$api_root/packages/jutty/generic/en/$version/en-x86_64-linux-gnu
|
||||||
|
|
||||||
curl -fsSLiv \
|
curl -fsSL \
|
||||||
--user jutty:${{ secrets.GJD_REGISTRY_TOKEN }} \
|
--user jutty:${{ secrets.GJD_REGISTRY_TOKEN }} \
|
||||||
--upload-file target/release/en $url
|
--upload-file target/release/en $url
|
||||||
|
|
|
||||||
|
|
@ -1,25 +0,0 @@
|
||||||
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
|
|
||||||
2
Cargo.lock
generated
2
Cargo.lock
generated
|
|
@ -259,7 +259,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "en"
|
name = "en"
|
||||||
version = "0.1.12"
|
version = "0.1.13"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"axum",
|
"axum",
|
||||||
"serde",
|
"serde",
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "en"
|
name = "en"
|
||||||
version = "0.1.12"
|
version = "0.1.13"
|
||||||
description = "A non-linear writing instrument."
|
description = "A non-linear writing instrument."
|
||||||
license = "AGPL-3.0-only"
|
license = "AGPL-3.0-only"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue