Update build.yml
This commit is contained in:
parent
aa6ffb54c0
commit
b21638d504
|
@ -1,8 +1,9 @@
|
|||
name: Build
|
||||
|
||||
on:
|
||||
release:
|
||||
types: [created]
|
||||
push:
|
||||
tags:
|
||||
- 'v*'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
|
@ -15,6 +16,18 @@ jobs:
|
|||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 14
|
||||
|
||||
- name: create draft release
|
||||
id: create_release
|
||||
uses: actions/create-release@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
tag_name: ${{ github.ref }}
|
||||
release_name: ${{ github.ref }}
|
||||
body: Show changes in this release
|
||||
draft: true
|
||||
prerelease: false
|
||||
|
||||
- name: install_deps
|
||||
run: make install_deps
|
||||
|
@ -28,29 +41,3 @@ jobs:
|
|||
run: make build_appimage
|
||||
- name: build_7z
|
||||
run: make build_7z
|
||||
|
||||
- name: upload_deb
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: artifacts/x64/*.deb
|
||||
path: artifacts/x64/*.deb
|
||||
- name: upload_rpm
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: artifacts/x64/*.rpm
|
||||
path: artifacts/x64/*.rpm
|
||||
- name: upload_snap
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: artifacts/x64/*.snap
|
||||
path: artifacts/x64/*.snap
|
||||
- name: upload_appimage
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: artifacts/x64/*.AppImage
|
||||
path: artifacts/x64/*.AppImage
|
||||
- name: upload_7z
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: artifacts/x64/*.7z
|
||||
path: artifacts/x64/*.7z
|
||||
|
|
Loading…
Reference in New Issue