我的目标是创建一个 GitHub 操作,当 release.yml 文件更改时,它将更新现有版本或在检查该版本是否为新版本后创建新版本,并根据先前的提交进行检查。最终想将此添加到我想添加操作和 release.yml 的其他项目中。
我目前遇到的问题是很难围绕如何去检测 release.yml 文件中的版本更改。
对于添加新版本的非常基本的用例,创建 action.yml 并添加的简单方法
version_1_0: # id of input
description: '1.0'
required: true
default: 'The most important changes are downgrading the artifact to java7 (from 8) and switching to gmavenplus plugin to compile groovy.
Besides that, there is a lot of restructuring inside of the pom.xml file
# Misc
* Polishing (f2ec0bb, 9e2ae89 and 8654493)
_Reviewed by_: @user'
Run Code Online (Sandbox Code Playgroud)
稍后在 index.js 文件中
const version = core.getInput('version_1_0');
core.setOutput("ver", version);
Run Code Online (Sandbox Code Playgroud)
给出稍后可以在 GitHub 操作文件中获取和清理的输出,然后转发到发布步骤以用于创建发布
push: …Run Code Online (Sandbox Code Playgroud) 上面的链接一开始是一个响应式站点。但是由于内容的性质,不得不添加很多表格等,现在当我在浏览器上放大网站时,它不会显示任何水平滚动条,当我尝试在浏览器上查看时也是如此电话。
我尝试了不同的方法,例如将overflow-x:auto添加到主体并删除所有overflow:隐藏,但仍然无法看到我的整个网站被放大。
任何帮助将非常感激