-
Notifications
You must be signed in to change notification settings - Fork 290
/
Copy pathdua.yaml
42 lines (36 loc) · 861 Bytes
/
dua.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
package:
name: dua
version: 2.28.0
epoch: 0
description: "View disk space usage and delete unwanted data, fast."
copyright:
- license: MIT
environment:
contents:
packages:
- build-base
- busybox
- ca-certificates-bundle
- rust
- wolfi-base
pipeline:
- uses: git-checkout
with:
repository: https://github.com/Byron/dua-cli
expected-commit: 984fd979e18ffaa20ba35bca3b85dc47c404328c
tag: v${{package.version}}
- name: Configure and build
runs: |
cargo build --release --no-default-features --features tui-crossplatform
mkdir -p ${{targets.destdir}}/usr/bin/
mv target/release/dua ${{targets.destdir}}/usr/bin/dua
- uses: strip
update:
enabled: true
github:
identifier: Byron/dua-cli
strip-prefix: v
test:
pipeline:
- runs: |
dua -V