File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,18 +21,26 @@ jobs:
2121 os : ubuntu-22.04
2222 use_docker : true
2323 script_name : ./build-alpine
24+ arch : amd64
25+ build_type : alpine
2426 - job_name : ' Build dev version in Jammy'
2527 os : ubuntu-22.04
2628 use_docker : false
2729 script_name : ./build-linux
30+ arch : amd64
31+ build_type : jammy
2832 - job_name : ' Build static on amd64 OSX'
2933 os : macos-13
3034 use_docker : false
3135 script_name : ./build-osx
36+ arch : amd64
37+ build_type : osx
3238 - job_name : ' Build static on arm64 OSX'
3339 os : macos-14
3440 use_docker : false
3541 script_name : ./build-osx
42+ arch : arm64
43+ build_type : osx
3644
3745 steps :
3846 - uses : actions/checkout@v4
4856 - name : Create artifact
4957 run : |
5058 os="${{ runner.os }}"
51- assets="${{ env.APP_NAME }}_$(echo "$ {{ runner.os }}" | tr '[:upper:]' '[:lower:]')_amd64 "
59+ assets="${{ env.APP_NAME }}_${{ matrix.build_type }}_${{ matrix.arch }} "
5260 echo "$assets"
5361 mkdir -p "dist/$assets"
5462 if [[ "${{ runner.os }}" == Windows ]]; then
7078 shell : bash
7179 - uses : actions/upload-artifact@v4
7280 with :
73- name : artifact-${{ matrix.os }}-amd64
81+ name : artifact-${{ matrix.build_type }}-${{ matrix.arch }}
7482 path : |
7583 dist/*.tar.gz
7684 dist/*.zip
You can’t perform that action at this time.
0 commit comments