Skip to content

code of conduct

code of conduct #7

name: Create draft release on tag
on:
push:
tags:
- 'v[0-9]+.[0-9]+'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build
run: echo ${{ github.sha }} > Release.txt
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
draft: true
generate_release_notes: true
files: Release.txt
token: ${{ secrets.GITHUB_TOKEN }}