xh-bin 0.24.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- xh_bin-0.24.1/LICENSE +21 -0
- xh_bin-0.24.1/PKG-INFO +33 -0
- xh_bin-0.24.1/README.md +13 -0
- xh_bin-0.24.1/pyproject.toml +55 -0
- xh_bin-0.24.1/xh/.github/workflows/ci.yaml +85 -0
- xh_bin-0.24.1/xh/.github/workflows/release.yaml +147 -0
- xh_bin-0.24.1/xh/.gitignore +4 -0
- xh_bin-0.24.1/xh/CHANGELOG.md +380 -0
- xh_bin-0.24.1/xh/Cargo.lock +2952 -0
- xh_bin-0.24.1/xh/Cargo.toml +133 -0
- xh_bin-0.24.1/xh/FAQ.md +21 -0
- xh_bin-0.24.1/xh/LICENSE +21 -0
- xh_bin-0.24.1/xh/README.md +231 -0
- xh_bin-0.24.1/xh/RELEASE-CHECKLIST.md +20 -0
- xh_bin-0.24.1/xh/assets/README.md +15 -0
- xh_bin-0.24.1/xh/assets/syntax/basic/json.sublime-syntax +42 -0
- xh_bin-0.24.1/xh/assets/syntax/large/css.sublime-syntax +2004 -0
- xh_bin-0.24.1/xh/assets/syntax/large/html.sublime-syntax +412 -0
- xh_bin-0.24.1/xh/assets/syntax/large/js.sublime-syntax +1496 -0
- xh_bin-0.24.1/xh/assets/syntax/large/xml.sublime-syntax +256 -0
- xh_bin-0.24.1/xh/assets/themes/ansi.tmTheme +181 -0
- xh_bin-0.24.1/xh/assets/themes/fruity.tmTheme +180 -0
- xh_bin-0.24.1/xh/assets/themes/monokai.tmTheme +202 -0
- xh_bin-0.24.1/xh/assets/themes/solarized.tmTheme +191 -0
- xh_bin-0.24.1/xh/assets/xh-demo.gif +0 -0
- xh_bin-0.24.1/xh/build.rs +63 -0
- xh_bin-0.24.1/xh/completions/_xh +163 -0
- xh_bin-0.24.1/xh/completions/_xh.ps1 +157 -0
- xh_bin-0.24.1/xh/completions/xh.bash +170 -0
- xh_bin-0.24.1/xh/completions/xh.elv +151 -0
- xh_bin-0.24.1/xh/completions/xh.fish +126 -0
- xh_bin-0.24.1/xh/completions/xh.nu +140 -0
- xh_bin-0.24.1/xh/doc/man-template.roff +155 -0
- xh_bin-0.24.1/xh/doc/xh.1 +459 -0
- xh_bin-0.24.1/xh/install.ps1 +66 -0
- xh_bin-0.24.1/xh/install.sh +91 -0
- xh_bin-0.24.1/xh/src/auth.rs +117 -0
- xh_bin-0.24.1/xh/src/buffer.rs +331 -0
- xh_bin-0.24.1/xh/src/cli.rs +1730 -0
- xh_bin-0.24.1/xh/src/content_disposition.rs +186 -0
- xh_bin-0.24.1/xh/src/decoder.rs +406 -0
- xh_bin-0.24.1/xh/src/download.rs +306 -0
- xh_bin-0.24.1/xh/src/error_reporting.rs +76 -0
- xh_bin-0.24.1/xh/src/formatting/headers.rs +292 -0
- xh_bin-0.24.1/xh/src/formatting/mod.rs +162 -0
- xh_bin-0.24.1/xh/src/formatting/palette.rs +68 -0
- xh_bin-0.24.1/xh/src/generation.rs +200 -0
- xh_bin-0.24.1/xh/src/main.rs +693 -0
- xh_bin-0.24.1/xh/src/middleware.rs +128 -0
- xh_bin-0.24.1/xh/src/nested_json.rs +455 -0
- xh_bin-0.24.1/xh/src/netrc.rs +469 -0
- xh_bin-0.24.1/xh/src/printer.rs +811 -0
- xh_bin-0.24.1/xh/src/redacted.rs +44 -0
- xh_bin-0.24.1/xh/src/redirect.rs +137 -0
- xh_bin-0.24.1/xh/src/request_items.rs +744 -0
- xh_bin-0.24.1/xh/src/session.rs +572 -0
- xh_bin-0.24.1/xh/src/to_curl.rs +570 -0
- xh_bin-0.24.1/xh/src/utils.rs +275 -0
- xh_bin-0.24.1/xh/tests/cases/compress_request_body.rs +234 -0
- xh_bin-0.24.1/xh/tests/cases/download.rs +430 -0
- xh_bin-0.24.1/xh/tests/cases/logging.rs +146 -0
- xh_bin-0.24.1/xh/tests/cases/mod.rs +3 -0
- xh_bin-0.24.1/xh/tests/cli.rs +3806 -0
- xh_bin-0.24.1/xh/tests/fixtures/certs/README.md +14 -0
- xh_bin-0.24.1/xh/tests/fixtures/certs/client.badssl.com.crt +33 -0
- xh_bin-0.24.1/xh/tests/fixtures/certs/client.badssl.com.key +27 -0
- xh_bin-0.24.1/xh/tests/fixtures/certs/wildcard-self-signed.pem +21 -0
- xh_bin-0.24.1/xh/tests/fixtures/responses/README.md +15 -0
- xh_bin-0.24.1/xh/tests/fixtures/responses/hello_world.br +0 -0
- xh_bin-0.24.1/xh/tests/fixtures/responses/hello_world.gz +0 -0
- xh_bin-0.24.1/xh/tests/fixtures/responses/hello_world.zst +0 -0
- xh_bin-0.24.1/xh/tests/fixtures/responses/hello_world.zz +0 -0
- xh_bin-0.24.1/xh/tests/server/mod.rs +175 -0
xh_bin-0.24.1/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Bingsu
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
xh_bin-0.24.1/PKG-INFO
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: xh-bin
|
|
3
|
+
Version: 0.24.1
|
|
4
|
+
Classifier: Programming Language :: Rust
|
|
5
|
+
Classifier: Topic :: Internet :: WWW/HTTP
|
|
6
|
+
Classifier: Topic :: System :: Networking
|
|
7
|
+
Classifier: Topic :: Utilities
|
|
8
|
+
License-File: LICENSE
|
|
9
|
+
Summary: Friendly and fast tool for sending HTTP requests
|
|
10
|
+
Keywords: cli,http-client,api-testing
|
|
11
|
+
Home-Page: https://github.com/ducaale/xh
|
|
12
|
+
Author: ducaale <sharaf.13@hotmail.com>
|
|
13
|
+
Author-email: dowon <ks2515@naver.com>
|
|
14
|
+
License: MIT
|
|
15
|
+
Requires-Python: >=3.7
|
|
16
|
+
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
|
|
17
|
+
Project-URL: repository, https://github.com/Bing-su/pip-binary-factory
|
|
18
|
+
Project-URL: xh, https://github.com/ducaale/xh
|
|
19
|
+
|
|
20
|
+
# xh-bin
|
|
21
|
+
|
|
22
|
+
https://github.com/ducaale/xh
|
|
23
|
+
|
|
24
|
+
`xh` is a friendly and fast tool for sending HTTP requests. It reimplements as much as possible of [HTTPie's](https://httpie.io/) excellent design, with a focus on improved performance.
|
|
25
|
+
|
|
26
|
+
[](https://asciinema.org/a/475190)
|
|
27
|
+
|
|
28
|
+
## install
|
|
29
|
+
|
|
30
|
+
```sh
|
|
31
|
+
pip install xh-bin
|
|
32
|
+
```
|
|
33
|
+
|
xh_bin-0.24.1/README.md
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# xh-bin
|
|
2
|
+
|
|
3
|
+
https://github.com/ducaale/xh
|
|
4
|
+
|
|
5
|
+
`xh` is a friendly and fast tool for sending HTTP requests. It reimplements as much as possible of [HTTPie's](https://httpie.io/) excellent design, with a focus on improved performance.
|
|
6
|
+
|
|
7
|
+
[](https://asciinema.org/a/475190)
|
|
8
|
+
|
|
9
|
+
## install
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
pip install xh-bin
|
|
13
|
+
```
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "xh-bin"
|
|
3
|
+
description = "Friendly and fast tool for sending HTTP requests "
|
|
4
|
+
version = "0.24.1"
|
|
5
|
+
authors = [{ name = "dowon", email = "ks2515@naver.com" }]
|
|
6
|
+
dependencies = []
|
|
7
|
+
requires-python = ">=3.7"
|
|
8
|
+
readme = "README.md"
|
|
9
|
+
license = { text = "MIT" }
|
|
10
|
+
keywords = ["cli", "http-client", "api-testing"]
|
|
11
|
+
classifiers = [
|
|
12
|
+
"Programming Language :: Rust",
|
|
13
|
+
"Topic :: Internet :: WWW/HTTP",
|
|
14
|
+
"Topic :: System :: Networking",
|
|
15
|
+
"Topic :: Utilities",
|
|
16
|
+
]
|
|
17
|
+
|
|
18
|
+
[project.urls]
|
|
19
|
+
repository = "https://github.com/Bing-su/pip-binary-factory"
|
|
20
|
+
xh = "https://github.com/ducaale/xh"
|
|
21
|
+
|
|
22
|
+
[build-system]
|
|
23
|
+
requires = ["maturin>=1.8,<2.0"]
|
|
24
|
+
build-backend = "maturin"
|
|
25
|
+
|
|
26
|
+
[tool.maturin]
|
|
27
|
+
include = [{ path = "LICENSE", format = "sdist" }]
|
|
28
|
+
bindings = "bin"
|
|
29
|
+
manifest-path = "xh/Cargo.toml"
|
|
30
|
+
auditwheel = "repair"
|
|
31
|
+
strip = true
|
|
32
|
+
|
|
33
|
+
[tool.ruff]
|
|
34
|
+
select = [
|
|
35
|
+
"A",
|
|
36
|
+
"B",
|
|
37
|
+
"C4",
|
|
38
|
+
"C90",
|
|
39
|
+
"E",
|
|
40
|
+
"EM",
|
|
41
|
+
"F",
|
|
42
|
+
"FA",
|
|
43
|
+
"I001",
|
|
44
|
+
"ISC",
|
|
45
|
+
"N",
|
|
46
|
+
"PIE",
|
|
47
|
+
"PT",
|
|
48
|
+
"RET",
|
|
49
|
+
"RUF",
|
|
50
|
+
"SIM",
|
|
51
|
+
"UP",
|
|
52
|
+
"W",
|
|
53
|
+
]
|
|
54
|
+
ignore = ["B008", "B905", "E501"]
|
|
55
|
+
unfixable = ["F401"]
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
name: CI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
pull_request:
|
|
5
|
+
push:
|
|
6
|
+
branches: [ master ]
|
|
7
|
+
schedule:
|
|
8
|
+
- cron: '00 00 * * *'
|
|
9
|
+
|
|
10
|
+
jobs:
|
|
11
|
+
test:
|
|
12
|
+
name: Test
|
|
13
|
+
runs-on: ${{ matrix.job.os }}
|
|
14
|
+
timeout-minutes: 15
|
|
15
|
+
strategy:
|
|
16
|
+
matrix:
|
|
17
|
+
job:
|
|
18
|
+
- target: x86_64-unknown-linux-gnu
|
|
19
|
+
os: ubuntu-latest
|
|
20
|
+
flags: --features=native-tls
|
|
21
|
+
- target: x86_64-unknown-linux-gnu
|
|
22
|
+
os: ubuntu-latest
|
|
23
|
+
flags: --no-default-features --features=native-tls,online-tests # disables rustls
|
|
24
|
+
- target: x86_64-apple-darwin
|
|
25
|
+
os: macos-13
|
|
26
|
+
flags: --features=native-tls
|
|
27
|
+
- target: aarch64-apple-darwin
|
|
28
|
+
os: macos-14
|
|
29
|
+
flags: --features=native-tls
|
|
30
|
+
- target: x86_64-pc-windows-msvc
|
|
31
|
+
os: windows-latest
|
|
32
|
+
flags: --features=native-tls
|
|
33
|
+
- target: x86_64-unknown-linux-musl
|
|
34
|
+
os: ubuntu-latest
|
|
35
|
+
use-cross: true
|
|
36
|
+
- target: aarch64-unknown-linux-musl
|
|
37
|
+
os: ubuntu-latest
|
|
38
|
+
use-cross: true
|
|
39
|
+
flags: -- --test-threads=4
|
|
40
|
+
- target: arm-unknown-linux-gnueabihf
|
|
41
|
+
os: ubuntu-latest
|
|
42
|
+
use-cross: true
|
|
43
|
+
flags: -- --test-threads=4
|
|
44
|
+
steps:
|
|
45
|
+
- uses: actions/checkout@v4
|
|
46
|
+
|
|
47
|
+
- uses: dtolnay/rust-toolchain@master
|
|
48
|
+
with:
|
|
49
|
+
toolchain: 1.74.0 # minimum supported rust version
|
|
50
|
+
targets: ${{ matrix.job.target }}
|
|
51
|
+
|
|
52
|
+
- uses: Swatinem/rust-cache@v2
|
|
53
|
+
with:
|
|
54
|
+
key: v2-${{ matrix.job.target }}
|
|
55
|
+
|
|
56
|
+
- uses: ClementTsang/cargo-action@v0.0.6
|
|
57
|
+
with:
|
|
58
|
+
use-cross: ${{ !!matrix.job.use-cross }}
|
|
59
|
+
command: test
|
|
60
|
+
args: --target ${{ matrix.job.target }} ${{ matrix.job.flags }}
|
|
61
|
+
|
|
62
|
+
fmt-and-clippy:
|
|
63
|
+
name: Rustfmt and clippy
|
|
64
|
+
runs-on: ubuntu-latest
|
|
65
|
+
steps:
|
|
66
|
+
- uses: actions/checkout@v4
|
|
67
|
+
|
|
68
|
+
- uses: dtolnay/rust-toolchain@master
|
|
69
|
+
with:
|
|
70
|
+
toolchain: stable
|
|
71
|
+
components: rustfmt, clippy
|
|
72
|
+
|
|
73
|
+
- uses: Swatinem/rust-cache@v2
|
|
74
|
+
|
|
75
|
+
- name: Rustfmt
|
|
76
|
+
run: cargo fmt --check
|
|
77
|
+
|
|
78
|
+
- name: Clippy (default features)
|
|
79
|
+
run: cargo clippy --tests -- -D warnings -A unknown-lints
|
|
80
|
+
|
|
81
|
+
- name: Clippy (all features)
|
|
82
|
+
run: cargo clippy --all-features --tests -- -D warnings -A unknown-lints
|
|
83
|
+
|
|
84
|
+
- name: Clippy (native-tls only)
|
|
85
|
+
run: cargo clippy --no-default-features --features=native-tls,online-tests --tests -- -D warnings -A unknown-lints
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
name: release
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
tags: [ v*.*.* ]
|
|
6
|
+
|
|
7
|
+
jobs:
|
|
8
|
+
test:
|
|
9
|
+
name: Test
|
|
10
|
+
runs-on: ${{ matrix.job.os }}
|
|
11
|
+
timeout-minutes: 15
|
|
12
|
+
strategy:
|
|
13
|
+
matrix:
|
|
14
|
+
job:
|
|
15
|
+
- target: x86_64-unknown-linux-gnu
|
|
16
|
+
os: ubuntu-latest
|
|
17
|
+
flags: --features=native-tls
|
|
18
|
+
- target: x86_64-unknown-linux-gnu
|
|
19
|
+
os: ubuntu-latest
|
|
20
|
+
flags: --no-default-features --features=native-tls,online-tests # disables rustls
|
|
21
|
+
- target: x86_64-apple-darwin
|
|
22
|
+
os: macos-13
|
|
23
|
+
flags: --features=native-tls
|
|
24
|
+
- target: aarch64-apple-darwin
|
|
25
|
+
os: macos-14
|
|
26
|
+
flags: --features=native-tls
|
|
27
|
+
- target: x86_64-pc-windows-msvc
|
|
28
|
+
os: windows-latest
|
|
29
|
+
flags: --features=native-tls
|
|
30
|
+
- target: x86_64-unknown-linux-musl
|
|
31
|
+
os: ubuntu-latest
|
|
32
|
+
use-cross: true
|
|
33
|
+
- target: aarch64-unknown-linux-musl
|
|
34
|
+
os: ubuntu-latest
|
|
35
|
+
use-cross: true
|
|
36
|
+
flags: -- --test-threads=4
|
|
37
|
+
- target: arm-unknown-linux-gnueabihf
|
|
38
|
+
os: ubuntu-latest
|
|
39
|
+
use-cross: true
|
|
40
|
+
flags: -- --test-threads=4
|
|
41
|
+
steps:
|
|
42
|
+
- uses: actions/checkout@v4
|
|
43
|
+
|
|
44
|
+
- uses: dtolnay/rust-toolchain@master
|
|
45
|
+
with:
|
|
46
|
+
toolchain: 1.74.0 # minimum supported rust version
|
|
47
|
+
targets: ${{ matrix.job.target }}
|
|
48
|
+
|
|
49
|
+
- uses: ClementTsang/cargo-action@v0.0.6
|
|
50
|
+
with:
|
|
51
|
+
use-cross: ${{ !!matrix.job.use-cross }}
|
|
52
|
+
command: test
|
|
53
|
+
args: --target ${{ matrix.job.target }} ${{ matrix.job.flags }}
|
|
54
|
+
|
|
55
|
+
deploy:
|
|
56
|
+
name: Deploy
|
|
57
|
+
needs: [ test ]
|
|
58
|
+
runs-on: ${{ matrix.job.os }}
|
|
59
|
+
strategy:
|
|
60
|
+
matrix:
|
|
61
|
+
job:
|
|
62
|
+
- os: ubuntu-latest
|
|
63
|
+
target: aarch64-unknown-linux-musl
|
|
64
|
+
binutils: aarch64-linux-gnu
|
|
65
|
+
use-cross: true
|
|
66
|
+
- os: ubuntu-latest
|
|
67
|
+
target: arm-unknown-linux-gnueabihf
|
|
68
|
+
binutils: arm-linux-gnueabihf
|
|
69
|
+
use-cross: true
|
|
70
|
+
- os: ubuntu-latest
|
|
71
|
+
target: x86_64-unknown-linux-musl
|
|
72
|
+
use-cross: true
|
|
73
|
+
- os: macos-13
|
|
74
|
+
target: x86_64-apple-darwin
|
|
75
|
+
flags: --features=native-tls
|
|
76
|
+
- os: macos-14
|
|
77
|
+
target: aarch64-apple-darwin
|
|
78
|
+
flags: --features=native-tls
|
|
79
|
+
- os: windows-latest
|
|
80
|
+
target: x86_64-pc-windows-msvc
|
|
81
|
+
flags: --features=native-tls
|
|
82
|
+
rustflags: -C target-feature=+crt-static
|
|
83
|
+
steps:
|
|
84
|
+
- uses: actions/checkout@v4
|
|
85
|
+
|
|
86
|
+
- name: Set RUSTFLAGS env variable
|
|
87
|
+
if: matrix.job.rustflags
|
|
88
|
+
shell: bash
|
|
89
|
+
run: echo "RUSTFLAGS=${{ matrix.job.rustflags }}" >> $GITHUB_ENV
|
|
90
|
+
|
|
91
|
+
- name: Build target
|
|
92
|
+
uses: ClementTsang/cargo-action@v0.0.6
|
|
93
|
+
with:
|
|
94
|
+
use-cross: ${{ !!matrix.job.use-cross }}
|
|
95
|
+
command: build
|
|
96
|
+
args: --release --target ${{ matrix.job.target }} ${{ matrix.job.flags }}
|
|
97
|
+
env:
|
|
98
|
+
CARGO_PROFILE_RELEASE_LTO: true
|
|
99
|
+
|
|
100
|
+
- name: Strip release binary (linux and macOS)
|
|
101
|
+
if: matrix.job.os != 'windows-latest'
|
|
102
|
+
run: |
|
|
103
|
+
if [ "${{ matrix.job.binutils }}" != "" ]; then
|
|
104
|
+
sudo apt -y install "binutils-${{ matrix.job.binutils }}"
|
|
105
|
+
"${{ matrix.job.binutils }}-strip" "target/${{ matrix.job.target }}/release/xh"
|
|
106
|
+
else
|
|
107
|
+
strip "target/${{ matrix.job.target }}/release/xh"
|
|
108
|
+
fi
|
|
109
|
+
|
|
110
|
+
- name: Package
|
|
111
|
+
shell: bash
|
|
112
|
+
run: |
|
|
113
|
+
if [ "${{ matrix.job.os }}" = "windows-latest" ]; then
|
|
114
|
+
bin="target/${{ matrix.job.target }}/release/xh.exe"
|
|
115
|
+
else
|
|
116
|
+
bin="target/${{ matrix.job.target }}/release/xh"
|
|
117
|
+
fi
|
|
118
|
+
staging="xh-${{ github.ref_name }}-${{ matrix.job.target }}"
|
|
119
|
+
|
|
120
|
+
mkdir -p "$staging"/{doc,completions}
|
|
121
|
+
cp LICENSE README.md $bin $staging
|
|
122
|
+
cp CHANGELOG.md doc/xh.1 "$staging"/doc
|
|
123
|
+
cp completions/* "$staging"/completions
|
|
124
|
+
|
|
125
|
+
if [ "${{ matrix.job.os }}" = "windows-latest" ]; then
|
|
126
|
+
7z a "$staging.zip" $staging
|
|
127
|
+
elif [[ "${{ matrix.job.os }}" =~ "macos" ]]; then
|
|
128
|
+
gtar czvf "$staging.tar.gz" $staging
|
|
129
|
+
else
|
|
130
|
+
tar czvf "$staging.tar.gz" $staging
|
|
131
|
+
fi
|
|
132
|
+
|
|
133
|
+
- name: Package (debian)
|
|
134
|
+
if: matrix.job.target == 'x86_64-unknown-linux-musl'
|
|
135
|
+
shell: bash
|
|
136
|
+
run: |
|
|
137
|
+
cargo install --git https://github.com/blyxxyz/cargo-deb --locked --branch xh-patches cargo-deb
|
|
138
|
+
cargo deb --no-build --target ${{ matrix.job.target }}
|
|
139
|
+
cp "target/${{ matrix.job.target }}/debian"/*.deb ./
|
|
140
|
+
|
|
141
|
+
- name: Publish
|
|
142
|
+
uses: softprops/action-gh-release@v1
|
|
143
|
+
with:
|
|
144
|
+
files: 'xh*'
|
|
145
|
+
draft: true
|
|
146
|
+
env:
|
|
147
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|