Skip to content

Commit d853b74

Browse files
authored
Update checksum working directory (#7)
1 parent a3b6644 commit d853b74

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

.github/workflows/release.yaml

+11-5
Original file line numberDiff line numberDiff line change
@@ -12,24 +12,29 @@ jobs:
1212
- name: envoy deps
1313
run: |
1414
brew install automake bazelisk cmake coreutils libtool ninja
15+
1516
- name: Get tag name
1617
id: tagName
1718
run: |
1819
TAG=${GITHUB_REF##*/}
1920
echo ::set-output name=tag::${TAG}
21+
2022
- name: checkout envoy
2123
uses: actions/checkout@v2
2224
with:
2325
repository: envoyproxy/envoy
2426
ref: ${{ steps.tagName.outputs.tag }}
27+
2528
- name: build
2629
run: |
2730
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
2831
mv bazel-bin/source/exe/envoy-static envoy-darwin-amd64
32+
2933
- name: shasum
3034
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
3338
env:
3439
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3540
run: |
@@ -70,11 +75,12 @@ jobs:
7075
go run . ${{steps.tagName.outputs.tag}}
7176
7277
- name: shasum
78+
working-directory: fetchenvoy
7379
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
7682
77-
- name: Upload binaries to release
83+
- name: Upload artifacts to release
7884
working-directory: fetchenvoy
7985
env:
8086
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)