Create release

This commit is contained in:
Ajeet D'Souza 2021-05-02 02:44:50 +05:30
parent 37ec9d7b75
commit 4a1adcff7f
2 changed files with 9 additions and 4 deletions

View File

@ -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 }}

View File

@ -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 }}