forked from wolfi-dev/os
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dua.yaml
45 lines (39 loc) · 935 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
43
44
45
package:
name: dua
version: 2.29.4
epoch: 0
description: "View disk space usage and delete unwanted data, fast."
copyright:
- license: MIT
environment:
contents:
packages:
- build-base
- busybox
- ca-certificates-bundle
- openssf-compiler-options
- rust
- wolfi-base
pipeline:
- uses: git-checkout
with:
repository: https://github.com/Byron/dua-cli
expected-commit: 63860365d18e156656b7f00e1c99be93186b04b2
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
dua --version
dua --help