File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -21,11 +21,11 @@ jobs:
21
21
steps :
22
22
- uses : actions/checkout@master
23
23
24
- - name : Change to ${{ matrix.target}} target
24
+ - name : Change to ${{ matrix.target }} target
25
25
uses : actions-rs/toolchain@v1
26
26
with :
27
27
toolchain : stable
28
- target : ${{ matrix.target}}
28
+ target : ${{ matrix.target }}
29
29
override : true
30
30
31
31
- name : Build
43
43
uses : actions-rs/cargo@v1
44
44
with :
45
45
command : build
46
- args : --release
46
+ args : --release --target ${{ matrix.target }}
47
47
48
48
- name : Release
49
49
if : github.event_name == 'release'
52
52
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
53
53
with :
54
54
upload_url : ${{ github.event.release.upload_url }}
55
- asset_path : target/release/safe-ascii
56
- asset_name : safe-ascii-${{ matrix.target}}
55
+ asset_path : target/${{ matrix.target }}/ release/safe-ascii
56
+ asset_name : safe-ascii-${{ matrix.target }}
57
57
asset_content_type : application/x-pie-executable
You can’t perform that action at this time.
0 commit comments