Create release
This commit is contained in:
parent
37ec9d7b75
commit
4a1adcff7f
|
|
@ -77,7 +77,7 @@ jobs:
|
|||
name: ${{ env.ASSET }}
|
||||
path: ${{ env.ASSET }}
|
||||
release:
|
||||
# if: ${{ startsWith(github.ref, 'refs/tags/') }}
|
||||
if: ${{ startsWith(github.ref, 'refs/tags/') }}
|
||||
runs-on: ubuntu-latest
|
||||
needs: [build]
|
||||
steps:
|
||||
|
|
@ -88,6 +88,13 @@ jobs:
|
|||
- name: Download archives
|
||||
uses: actions/download-artifact@v2
|
||||
with:
|
||||
name: artifact
|
||||
path: artifact
|
||||
- name: Show downloaded files
|
||||
run: ls -lRh artifact/
|
||||
- name: Create release
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
draft: true
|
||||
files: artifact/*/*
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
|
|
|||
|
|
@ -1,11 +1,9 @@
|
|||
name: ci
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
ci:
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
|
|
|||
Loading…
Reference in New Issue