Skip to content

Commit 96b0e9d

Browse files
authored
Merge pull request #470 from Shopify/ap.fix-publish
Fix publish workflow
2 parents a3594c1 + 4b90d4e commit 96b0e9d

File tree

4 files changed

+235
-371
lines changed

4 files changed

+235
-371
lines changed

.cargo/config.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# We want to ensure that all the MSVC dependencies are statically resolved and
2+
# included in the final CLI binary.
3+
# Ref: https://github.com/rust-lang/rust/pull/122268
4+
[target.x86_64-pc-windows-msvc]
5+
rustflags = ["-C", "target-feature=+crt-static"]

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ jobs:
1919
matrix:
2020
include:
2121
- name: linux
22-
os: ubuntu-20.04 # Use oldest supported non-deprecated version so we link against older glibc version which allows running binary on a wider set of Linux systems
22+
os: ubuntu-22.04 # Use oldest supported non-deprecated version so we link against older glibc version which allows running binary on a wider set of Linux systems
2323
path: target/x86_64-unknown-linux-gnu/release/function-runner
2424
asset_name: function-runner-x86_64-linux-${{ inputs.tag_name || github.event.release.tag_name }}
2525
shasum_cmd: sha256sum
2626
target: x86_64-unknown-linux-gnu
2727
- name: linux-arm64
28-
os: ubuntu-20.04 # Use oldest supported non-deprecated version so we link against older glibc version which allows running binary on a wider set of Linux systems
28+
os: ubuntu-22.04 # Use oldest supported non-deprecated version so we link against older glibc version which allows running binary on a wider set of Linux systems
2929
path: target/aarch64-unknown-linux-gnu/release/function-runner
3030
asset_name: function-runner-arm-linux-${{ inputs.tag_name || github.event.release.tag_name }}
3131
shasum_cmd: sha256sum

0 commit comments

Comments
 (0)