parent
10e7f017ee
commit
73ceaedb6c
|
|
@ -160,16 +160,17 @@ jobs:
|
|||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- name: 生成制品
|
||||
run: ./some-script --version=${{ matrix.version }} > my-binary
|
||||
# run: ./some-script --version=${{ matrix.version }} > my-binary
|
||||
run echo "系统=${{ matrix.os }},version=${{ matrix.version }}" > my-binary-${{ matrix.os }}-${{ matrix.version }}
|
||||
- name: 安装上传制品插件
|
||||
uses: actions/upload-artifact@v4
|
||||
id: artifact-upload-step-id
|
||||
with:
|
||||
name: binary-${{ matrix.os }}-${{ matrix.version }}
|
||||
path: my-binary
|
||||
path: my-binary-${{ matrix.os }}-${{ matrix.version }}
|
||||
retention-days: 90 # 保留期必须介于 1 到 90 天(含)之间。
|
||||
if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn`
|
||||
compression-level: 9 # 6默认压缩(与 GNU Gzip 相同),如果设置成0不进行文件压缩
|
||||
compression-level: 9 # 6默认压缩如果设置成0不进行文件压缩
|
||||
#path: |
|
||||
# path/output/bin/
|
||||
# path/output/test-results
|
||||
|
|
|
|||
Loading…
Reference in New Issue