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