mirror of
https://github.com/cmderdev/cmder.git
synced 2024-11-10 09:49:12 +08:00
Draft a release on a tag being pushed (#2804)
Signed-off-by: Martin Kemp <me@martinke.mp> Signed-off-by: Martin Kemp <me@martinke.mp>
This commit is contained in:
parent
8b3f38ad21
commit
dc2bc9bda7
14
.github/workflows/build.yml
vendored
14
.github/workflows/build.yml
vendored
@ -8,6 +8,8 @@ name: Build Cmder
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ "master" ]
|
branches: [ "master" ]
|
||||||
|
tags:
|
||||||
|
- "v*"
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ "master" ]
|
branches: [ "master" ]
|
||||||
|
|
||||||
@ -72,3 +74,15 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
path: build/hashes.txt
|
path: build/hashes.txt
|
||||||
name: hashes.txt
|
name: hashes.txt
|
||||||
|
|
||||||
|
- name: Create Release
|
||||||
|
uses: softprops/action-gh-release@v1
|
||||||
|
with:
|
||||||
|
files: |
|
||||||
|
build/cmder.zip
|
||||||
|
build/cmder.7z
|
||||||
|
build/cmder_mini.zip
|
||||||
|
build/hashes.txt
|
||||||
|
draft: true
|
||||||
|
generate_release_notes: true
|
||||||
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
|
Loading…
Reference in New Issue
Block a user