Added release to build action
This commit is contained in:
parent
e40d6f5a5e
commit
6b3fea857a
7
.github/workflows/linux-ci.yml
vendored
7
.github/workflows/linux-ci.yml
vendored
@ -8,9 +8,7 @@ on:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Install GCC11, pCap, wxWidgets
|
||||
@ -22,3 +20,8 @@ jobs:
|
||||
run: make
|
||||
- name: Check binary file
|
||||
run: ls -alh build/wxMahjong; file build/wxMahjong
|
||||
- uses: softprops/action-gh-release@v1
|
||||
name: Release
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
with:
|
||||
files: build/wxMahjong
|
||||
|
Loading…
x
Reference in New Issue
Block a user