Skip to content

Commit b366d8d

Browse files
committed
test publish workflow
1 parent 5aad225 commit b366d8d

File tree

1 file changed

+20
-15
lines changed

1 file changed

+20
-15
lines changed

.github/workflows/publish.yml

Lines changed: 20 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -23,26 +23,31 @@ jobs:
2323
strategy:
2424
matrix:
2525
include:
26-
- name: linux
27-
path: ${{ needs.build.outputs.linux_x86_64 }}
28-
asset_name: function-runner-x86_64-linux-${{ inputs.tag_name || github.event.release.tag_name }}
26+
- name: x86_64-unknown-linux-gnu
27+
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
28+
path: target/x86_64-unknown-linux-gnu/release/function-runner
2929
shasum_cmd: sha256sum
30-
- name: linux-arm64
31-
path: ${{ needs.build.outputs.linux_arm64 }}
32-
asset_name: function-runner-arm-linux-${{ inputs.tag_name || github.event.release.tag_name }}
30+
output_var: linux_x86_64
31+
- name: aarch64-unknown-linux-gnu
32+
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
33+
path: target/aarch64-unknown-linux-gnu/release/function-runner
3334
shasum_cmd: sha256sum
34-
- name: macos
35-
path: ${{ needs.build.outputs.macos_x86_64 }}
36-
asset_name: function-runner-x86_64-macos-${{ inputs.tag_name || github.event.release.tag_name }}
35+
output_var: linux_arm64
36+
- name: x86_64-apple-darwin
37+
os: macos-latest
38+
path: target/x86_64-apple-darwin/release/function-runner
3739
shasum_cmd: shasum -a 256
38-
- name: arm64-macos
39-
path: ${{ needs.build.outputs.macos_arm64 }}
40-
asset_name: function-runner-arm-macos-${{ inputs.tag_name || github.event.release.tag_name }}
40+
output_var: macos_x86_64
41+
- name: aarch64-apple-darwin
42+
os: macos-latest
43+
path: target/aarch64-apple-darwin/release/function-runner
4144
shasum_cmd: shasum -a 256
42-
- name: windows
43-
path: ${{ needs.build.outputs.windows_x86_64 }}
44-
asset_name: function-runner-x86_64-windows-${{ inputs.tag_name || github.event.release.tag_name }}
45+
output_var: macos_arm64
46+
- name: x86_64-pc-windows-msvc
47+
os: windows-latest
48+
path: target\x86_64-pc-windows-msvc\release\function-runner.exe
4549
shasum_cmd: sha256sum
50+
output_var: windows_x86_64
4651

4752
steps:
4853
- name: Archive assets

0 commit comments

Comments
 (0)