Skip to content

Commit

Permalink
ci: keep old target format for uploaded binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
ripperi committed Oct 1, 2024
1 parent 72e668a commit aabf3d6
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,14 +141,17 @@ jobs:
run: |
sha_version=$(sed -nr 's/#define URBIT_VERSION "(.*)"/\1/p' zig-out/include/version.h)
declare -a targets=(
"aarch64-linux-musl"
"aarch64-macos-none"
"x86_64-linux-musl"
"x86_64-macos-none"
"aarch64-linux-musl linux-aarch64"
"aarch64-macos-none macos-aarch64"
"x86_64-linux-musl linux-x86_64"
"x86_64-macos-none macos-x86_64"
)
for target in "${targets[@]}"
do
urbit_static=$GITHUB_WORKSPACE/zig-out/${target}/urbit
read -a strarr <<< "$elem"
zig_target=strarr[0]
target=strarr[1]
urbit_static=$GITHUB_WORKSPACE/zig-out/${zig_target}/urbit
if ${{ inputs.next != null }}; then
next=$(echo "${{ inputs.next }}" | sed 's/[^0-9]//g')
dest="gs://${UPLOAD_BASE}/next/kelvin/${next}/v${sha_version}/vere-v${sha_version}-${target}"
Expand Down

0 comments on commit aabf3d6

Please sign in to comment.