{ github.ref_name }} path: staging retention-days: 1 # 设置保留 artifact 天数 # 创建release - name: Create GitHub Release id: create_release uses: actions/create-release@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: tag_name: ${{ github.ref }} release_name: Release-${...
html_url: 在github的release的url 如https://github.com/octocat/Hello-World/releases/v1.0.0 upload_url: 此次发布的附件上传地址 可以被一些其他actions使用 如@actions/upload-release-assetGitHub Action
通过GitHub Actions 自动创建 Github Release Intro 在GitHub 上维护了几个小的开源项目,每次在发布新版本的时候会创建一个 release,这样可以比较方便的找到对应的版本的代码,不需要再人肉的从 git log 中找到指定的 commit,而且在 GitHub 上创建 Release 的话别人可以方便的关注项目新版本的发布,之前都是手动创建 re...
工作流文件命名为actions-test.yml,可以直接将内容复制到仓库的.github/workflows目录下,文件名可以自定义。保存后,点击仓库的Actions选项卡,即可看到该任务执行情况。: on: [push] jobs: build-test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 - run: npm ...
【摘要】 https://github.com/marketplace/actions/create-a-release 使用的action uses: actions/create-release@v1 入参 tag_name: 此次发布标签的名字release_name: 发布的... https://github.com/marketplace/actions/create-a-release 使用的action ...
但是,简单易用并不代表好用且好维护,相反,GitHub Actions是非常容易 “腐烂” 的。 GreptimeDB 开源的第一个版本其release.yml只有很短的 183 行,后经过 N 次 N 人改动后,小小的 YAML 先后加入了: - 更多不同平台的制品构建; - 开启不同特性开关的软件制品的构建; - 构建之前会先跑集成测试; - 推送到...
build--configuration Release--no-restore-name:Zip the Buildrun:zip-r ${{secrets.ReleaseZipName}}./AppName/bin/Release/netcoreapp3.1/-name:Create Releaseid:create_releaseuses:actions/create-release@v1env:GITHUB_TOKEN:${{secrets.GITHUB_TOKEN}}with:tag_name:${{github.ref}}release_name:Release ...
name:Releaseson:push:tags: -'*'jobs:build:runs-on:ubuntu-latestpermissions:contents:writesteps: -uses:actions/checkout@v3-uses:ncipollo/release-action@v1with:artifacts:"release.tar.gz,foo/*.txt"bodyFile:"body.md" You must provide a tag either via the action input or the git ref (i....
If this Action is used withMetaMask/action-publish-release, both Actions must be configured to use the same branch prefix. Their branch prefix defaults are the same within major versions. .github/workflows/create-release-pr.yml_This workflow file self-references this action with the string "/....
run: ./scripts/build-static -s - name: Create Release id: create_release uses: actions/create-release@v1 env: GITHUB_TOKEN:${{ secrets.GITHUB_TOKEN }}with: tag_name:${{ github.ref }}release_name: Release${{ github.ref }}draft:falseprerelease:false- name: Upload Release Asset ...