Add workflow for creating release on tag

This commit is contained in:
WoLfulus
2020-10-05 20:28:56 -03:00
parent 3917046447
commit e7f0e669ec

24
.github/workflows/create-release.yml vendored Normal file
View File

@@ -0,0 +1,24 @@
name: create-release
on:
push:
tags:
- 'v*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Create 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: |
Directus ${{ github.ref }}
draft: false
prerelease: false