Skip to content
代码片段 群组 项目
未验证 提交 5aa7e763 编辑于 作者: Jing T's avatar Jing T 提交者: GitHub
浏览文件

automate Github release upon tag creation (#804)

* automate Github release creation via tags
上级 69cdb7ba
No related branches found
No related tags found
无相关合并请求
name: Build and release packages
permissions:
contents: write
on:
push:
pull_request:
......@@ -225,3 +228,23 @@ jobs:
with:
name: zap-linux-deb
path: dist/zap*.deb
release:
if: startsWith(github.ref, 'refs/tags/')
needs: [build]
name: Create Github Release
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v3
- name: List downloaded files
run: ls -R
- name: Creating Github Release
uses: softprops/action-gh-release@v1
with:
generate_release_notes: true
files: |
zap-linux-deb/zap-linux.deb
zap-linux-rpm/zap-linux.rpm
zap-linux-zip/zap-linux.zip
zap-mac-zip/zap-mac.zip
zap-win-zip/zap-win.zip
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册