相关疑难解决方法(0)

如何在一个 repo 中合并两个 action.yml 文件?

我希望我的 repo 有两个功能:

  1. 在标签推送上创建发布
  2. 在 docker 环境中测试我的软件

两者都需要 repo 中的 action.yml。我如何组合它们?

name: "Upload a Release Asset"
description: "Upload a release asset to an existing release on your repository"
author: "Github"
inputs:
  upload_url:
    description: "The URL for uploading assets to the release"
    required: true
  asset_path:
    description: "The path to the asset you want to upload"
    required: true
  asset_name:
    description: "The name of the asset you want to upload"
    required: true
  asset_content_type:
    description: "The content-type of the asset you want to upload. …
Run Code Online (Sandbox Code Playgroud)

github-actions

6
推荐指数
2
解决办法
2194
查看次数

标签 统计

github-actions ×1