github - 如何逐步运行 GItHub Actions 作业矩阵?
问题描述
我想在 GitHub Actions 中逐步运行作业矩阵。
不要这样运行:
- 一个
- 乙
- C
- D
- 乙
像这样运行:
- 一个
- 乙
- C
- D
- 乙
这是我的操作代码:
jobs:
build:
strategy:
fail-fast: false
matrix:
platform: [ x86, x64 ]
os: [ ubuntu-latest, windows-latest, macos-latest ]
pkg: [ ZIP, TGZ, DEB, NSIS ]
exclude:
- os: windows-latest
pkg: DEB
- os: ubuntu-latest
pkg: NSIS
- os: macos-latest
pkg: DEB
- os: macos-latest
pkg: NSIS
- os: ubuntu-latest
platform: x86
- os: macos-latest
platform: x86
runs-on: '${{ matrix.os }}'
name: '${{ matrix.os }}-${{ matrix.platform }}-${{ matrix.pkg }}: Deploy'
steps:
- uses: actions/checkout@v2
如何修改文件以使其以这种方式工作?
解决方案
推荐阅读
- node.js - 尝试通过 Mac 打开 appium 时收到折旧警告
- selenium - 如何 E2E 测试具有一些 websocket 端点的 REST API?
- oracle - (KAFKA Oracle DEBEZIUM)无法连接:无法解析Oracle数据库版本
- bash - 无法替换 bash 脚本中表达式内的变量值
- python - 获取“只能使用带有字符串值的 .str 访问器!” 熊猫数据框中没有要处理的记录时出错
- html-table - Google App Script - 在表单中将记录从工作表拉到 HTML 表的示例
- javascript - useMemo 可以在匿名函数中使用吗?
- angular - Ionic + PWA - 在浏览器中显示启动画面
- reactjs - 从对象反应 img src
- sql - 使用表单字段作为标准的 DELETE 查询要求提供参数而不是从表单中提取