Skip to content

Commit

Permalink
debug GH action
Browse files Browse the repository at this point in the history
  • Loading branch information
wasaga committed Nov 24, 2022
1 parent b0af59a commit b7a23eb
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,29 @@ jobs:
run: |
brew install oras
pwd
# homebrew doesn't use v, just a number triplet
_version=${{ steps.tagName.outputs.tag }}
_version=${_version:1}
ls
# AMD64 is not supported beyond 12.6
oras pull ghcr.io/homebrew/core/envoy:${_version} --platform "darwin/amd64:macOS 12.6"
tar --extract \
--file envoy--${_version}.monterey.bottle.tar.gz \
--directory . \
--strip-components=3 \
envoy/${_version}/bin/envoy
mv -f envoy envoy-darwin-amd64
sh ./mac.sh ${{ steps.tagName.outputs.tag }}
oras pull ghcr.io/homebrew/core/envoy:${_version} --platform "darwin/arm64:macOS 13"
tar --extract \
--file envoy--${_version}.arm64_ventura.bottle.tar.gz \
--directory . \
--strip-components=3 \
envoy/${_version}/bin/envoy
mv -f envoy envoy-darwin-arm64
shasum -a 256 envoy-darwin-amd64 > envoy-darwin-amd64.sha256
shasum -a 256 envoy-darwin-arm64 > envoy-darwin-arm64.sha256
- name: Upload artifacts to release
env:
Expand Down

0 comments on commit b7a23eb

Please sign in to comment.