@@ -12,18 +12,18 @@ jobs:
12
12
- uses : actions/checkout@v2
13
13
- uses : docker/setup-buildx-action@v1
14
14
- name : " Build binaries from Containerfile.cross"
15
- run : docker buildx build -o /tmp --platform=amd64,arm64,arm,s390x,ppc64le,riscv64 -f Containerfile.cross .
16
- - name : " Create /tmp /artifact"
15
+ run : docker buildx build -o out --platform=amd64,arm64,arm,s390x,ppc64le,riscv64 -f Containerfile.cross .
16
+ - name : " Create out /artifact"
17
17
run : |
18
- mkdir -p /tmp /artifact
19
- mv /tmp/ linux_amd64/fuse-overlayfs /tmp /artifact/fuse-overlayfs-x86_64
20
- mv /tmp/ linux_arm64/fuse-overlayfs /tmp /artifact/fuse-overlayfs-aarch64
21
- mv /tmp/ linux_arm_v7/fuse-overlayfs /tmp /artifact/fuse-overlayfs-armv7l
22
- mv /tmp/ linux_s390x/fuse-overlayfs /tmp /artifact/fuse-overlayfs-s390x
23
- mv /tmp/ linux_ppc64le/fuse-overlayfs /tmp /artifact/fuse-overlayfs-ppc64le
24
- mv /tmp/ linux_riscv64/fuse-overlayfs /tmp /artifact/fuse-overlayfs-riscv64
18
+ mkdir -p out /artifact
19
+ mv out/ linux_amd64/fuse-overlayfs out /artifact/fuse-overlayfs-x86_64
20
+ mv out/ linux_arm64/fuse-overlayfs out /artifact/fuse-overlayfs-aarch64
21
+ mv out/ linux_arm_v7/fuse-overlayfs out /artifact/fuse-overlayfs-armv7l
22
+ mv out/ linux_s390x/fuse-overlayfs out /artifact/fuse-overlayfs-s390x
23
+ mv out/ linux_ppc64le/fuse-overlayfs out /artifact/fuse-overlayfs-ppc64le
24
+ mv out/ linux_riscv64/fuse-overlayfs out /artifact/fuse-overlayfs-riscv64
25
25
- name : " SHA256SUMS"
26
- run : (cd /tmp/ artifact; sha256sum *) | tee /tmp /SHA256SUMS
26
+ run : (cd out/ artifact; sha256sum *) | tee out /SHA256SUMS
27
27
- name : " Create release"
28
28
uses : actions/create-release@v1
29
29
id : create_release
39
39
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
40
40
with :
41
41
upload_url : ${{ steps.create_release.outputs.upload_url }}
42
- asset_path : /tmp /artifact/fuse-overlayfs-x86_64
42
+ asset_path : out /artifact/fuse-overlayfs-x86_64
43
43
asset_name : fuse-overlayfs-x86_64
44
44
asset_content_type : application/octet-stream
45
45
- name : " Upload fuse-overlayfs-aarch64"
48
48
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
49
49
with :
50
50
upload_url : ${{ steps.create_release.outputs.upload_url }}
51
- asset_path : /tmp /artifact/fuse-overlayfs-aarch64
51
+ asset_path : out /artifact/fuse-overlayfs-aarch64
52
52
asset_name : fuse-overlayfs-aarch64
53
53
asset_content_type : application/octet-stream
54
54
- name : " Upload fuse-overlayfs-armv7l"
57
57
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
58
58
with :
59
59
upload_url : ${{ steps.create_release.outputs.upload_url }}
60
- asset_path : /tmp /artifact/fuse-overlayfs-armv7l
60
+ asset_path : out /artifact/fuse-overlayfs-armv7l
61
61
asset_name : fuse-overlayfs-armv7l
62
62
asset_content_type : application/octet-stream
63
63
- name : " Upload fuse-overlayfs-s390x"
66
66
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
67
67
with :
68
68
upload_url : ${{ steps.create_release.outputs.upload_url }}
69
- asset_path : /tmp /artifact/fuse-overlayfs-s390x
69
+ asset_path : out /artifact/fuse-overlayfs-s390x
70
70
asset_name : fuse-overlayfs-s390x
71
71
asset_content_type : application/octet-stream
72
72
- name : " Upload fuse-overlayfs-ppc64le"
75
75
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
76
76
with :
77
77
upload_url : ${{ steps.create_release.outputs.upload_url }}
78
- asset_path : /tmp /artifact/fuse-overlayfs-ppc64le
78
+ asset_path : out /artifact/fuse-overlayfs-ppc64le
79
79
asset_name : fuse-overlayfs-ppc64le
80
80
asset_content_type : application/octet-stream
81
81
- name : " Upload fuse-overlayfs-riscv64"
84
84
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
85
85
with :
86
86
upload_url : ${{ steps.create_release.outputs.upload_url }}
87
- asset_path : /tmp /artifact/fuse-overlayfs-riscv64
87
+ asset_path : out /artifact/fuse-overlayfs-riscv64
88
88
asset_name : fuse-overlayfs-riscv64
89
89
asset_content_type : application/octet-stream
90
90
- name : " Upload SHA256SUMS"
93
93
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
94
94
with :
95
95
upload_url : ${{ steps.create_release.outputs.upload_url }}
96
- asset_path : /tmp /SHA256SUMS
96
+ asset_path : out /SHA256SUMS
97
97
asset_name : SHA256SUMS
98
98
asset_content_type : text/plain
0 commit comments