File tree Expand file tree Collapse file tree 4 files changed +20
-21
lines changed Expand file tree Collapse file tree 4 files changed +20
-21
lines changed Original file line number Diff line number Diff line change 54
54
env :
55
55
VCPKG_ROOT : ' C:\vcpkg'
56
56
steps :
57
- - uses : actions/checkout@master
57
+ - uses : actions/checkout@v4
58
58
59
- - uses : actions/cache@v3
59
+ - uses : actions/cache@v4
60
60
with :
61
61
path : |
62
62
~/.cargo/registry
Original file line number Diff line number Diff line change 22
22
binary_path : target/release
23
23
build_deps : scripts/workflows/provision-darwin-build.sh
24
24
steps :
25
- - uses : actions/checkout@master
25
+ - uses : actions/checkout@v4
26
26
27
- - uses : actions/cache@v3
27
+ - uses : actions/cache@v4
28
28
with :
29
29
path : |
30
30
~/.cargo/git
39
39
run : cargo build --release --locked
40
40
41
41
- name : Upload Artifacts
42
- uses : actions/upload-artifact@v2
42
+ uses : actions/upload-artifact@v4
43
43
with :
44
44
name : quill-${{ matrix.os }}-rs
45
45
path : ${{ matrix.binary_path }}/quill
49
49
outputs :
50
50
matrix : ${{ steps.set-matrix.outputs.matrix }}
51
51
steps :
52
- - uses : actions/checkout@v1
52
+ - uses : actions/checkout@v4
53
53
- id : set-matrix
54
54
run : |
55
55
EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64)
66
66
env :
67
67
E2E_TEST : tests-${{ matrix.test }}.bash
68
68
steps :
69
- - uses : actions/checkout@v1
69
+ - uses : actions/checkout@v4
70
70
- name : Download quill binary
71
- uses : actions/download-artifact@v2
71
+ uses : actions/download-artifact@v4
72
72
with :
73
73
name : quill-${{ matrix.os }}-rs
74
74
path : /usr/local/bin
Original file line number Diff line number Diff line change 20
20
- os : ubuntu-20.04
21
21
name : linux-musl
22
22
target : x86_64-unknown-linux-musl
23
- cross : true
24
23
target_file : target/x86_64-unknown-linux-musl/release/quill
25
24
asset_name : quill-linux-x86_64-musl
26
25
features : []
42
41
- os : ubuntu-20.04
43
42
name : linux-arm32
44
43
target : arm-unknown-linux-gnueabihf
45
- cross : true
46
44
target_file : target/arm-unknown-linux-gnueabihf/release/quill
47
45
asset_name : quill-linux-arm32
48
46
features : [hsm]
54
52
env :
55
53
VCPKG_ROOT : ' C:\vcpkg'
56
54
steps :
57
- - uses : actions/checkout@master
55
+ - uses : actions/checkout@v4
58
56
59
- - uses : actions/cache@v3
57
+ - uses : actions/cache@v4
60
58
with :
61
59
path : |
62
60
~/.cargo/git
@@ -72,15 +70,16 @@ jobs:
72
70
if : ${{ matrix.target }}
73
71
run : rustup target add ${{ matrix.target }}
74
72
75
- - name : Build
76
- uses : actions-rs/cargo@v1
73
+ - uses : taiki-e/install-action@v2
77
74
with :
78
- use-cross : ${{ matrix.cross }}
79
- command : build
80
- args : |
81
- ${{ matrix.target && format('--target {0}', matrix.target) }}
82
- ${{ matrix.features && format('--no-default-features --features "{0}"', join(matrix.features)) }}
83
- --release --locked
75
+ tool : cross@0.2.5
76
+
77
+ - name : Build
78
+ run : >
79
+ cross build
80
+ ${{ matrix.target && format('--target {0}', matrix.target) }}
81
+ ${{ matrix.features && format('--no-default-features --features "{0}"', join(matrix.features)) }}
82
+ --release --locked
84
83
85
84
- name : Upload binaries to release
86
85
if : ${{ github.ref_type == 'tag' }}
Original file line number Diff line number Diff line change 6
6
check :
7
7
runs-on : ubuntu-latest
8
8
steps :
9
- - uses : actions/checkout@v3
9
+ - uses : actions/checkout@v4
10
10
- name : Install shellcheck
11
11
run : |
12
12
mkdir $HOME/bin
You can’t perform that action at this time.
0 commit comments