Test #release 2
This commit is contained in:
parent
be8efc4a79
commit
a95f9d5c50
|
|
@ -74,9 +74,10 @@ jobs:
|
||||||
|
|
||||||
- name: Install cargo-deb
|
- name: Install cargo-deb
|
||||||
if: ${{ matrix.deb == true }}
|
if: ${{ matrix.deb == true }}
|
||||||
uses: actions-rs/install@v0.1
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
crate: cargo-deb
|
command: install
|
||||||
|
args: cargo-deb --locked
|
||||||
|
|
||||||
- name: Build deb
|
- name: Build deb
|
||||||
if: ${{ matrix.deb == true }}
|
if: ${{ matrix.deb == true }}
|
||||||
|
|
@ -113,7 +114,7 @@ jobs:
|
||||||
*.zip
|
*.zip
|
||||||
|
|
||||||
- name: Create release
|
- name: Create release
|
||||||
if: contains(github.event.head_commit.message, '#release')
|
if: startsWith(github.event.head_commit.message, 'chore(release)')
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
with:
|
with:
|
||||||
draft: true
|
draft: true
|
||||||
|
|
@ -121,5 +122,5 @@ jobs:
|
||||||
*.deb
|
*.deb
|
||||||
*.tar.gz
|
*.tar.gz
|
||||||
*.zip
|
*.zip
|
||||||
name: "#release"
|
name: ${{ github.event.head_commit.id }}
|
||||||
tag_name: ""
|
tag_name: ""
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue