@@ -12,24 +12,29 @@ jobs:
12
12
- name : envoy deps
13
13
run : |
14
14
brew install automake bazelisk cmake coreutils libtool ninja
15
+
15
16
- name : Get tag name
16
17
id : tagName
17
18
run : |
18
19
TAG=${GITHUB_REF##*/}
19
20
echo ::set-output name=tag::${TAG}
21
+
20
22
- name : checkout envoy
21
23
uses : actions/checkout@v2
22
24
with :
23
25
repository : envoyproxy/envoy
24
26
ref : ${{ steps.tagName.outputs.tag }}
27
+
25
28
- name : build
26
29
run : |
27
30
bazelisk build --curses=no --show_task_finish --verbose_failures --action_env=PATH=/usr/local/bin:/opt/local/bin:/usr/bin:/bin:$PATH --test_output=all -c "opt" //source/exe:envoy-static --config=sizeopt
28
31
mv bazel-bin/source/exe/envoy-static envoy-darwin-amd64
32
+
29
33
- name : shasum
30
34
run : |
31
- shasum -a 256 envoy-darwin-amd64 envoy-darwin-amd64.sha256
32
- - name : Upload binaries to release
35
+ shasum -a 256 envoy-darwin-amd64 > envoy-darwin-amd64.sha256
36
+
37
+ - name : Upload artifacts to release
33
38
env :
34
39
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
35
40
run : |
@@ -70,11 +75,12 @@ jobs:
70
75
go run . ${{steps.tagName.outputs.tag}}
71
76
72
77
- name : shasum
78
+ working-directory : fetchenvoy
73
79
run : |
74
- shasum -a 256 envoy-linux-amd64 envoy-linux-amd64.sha256
75
- shasum -a 256 envoy-linux-arm64 envoy-linux-arm64.sha256
80
+ shasum -a 256 envoy-linux-amd64 > envoy-linux-amd64.sha256
81
+ shasum -a 256 envoy-linux-arm64 > envoy-linux-arm64.sha256
76
82
77
- - name : Upload binaries to release
83
+ - name : Upload artifacts to release
78
84
working-directory : fetchenvoy
79
85
env :
80
86
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
0 commit comments