Merge pull request #311 from roocs/prepare_v0121 #3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Prepare Release | |
on: | |
push: | |
tags: | |
- 'v*.*' # Push events to matching v*, i.e. v1.0, v20.15.10 | |
jobs: | |
release: | |
name: Create Release from tag | |
runs-on: ubuntu-latest | |
if: startsWith(github.ref, 'refs/tags/v') && endsWith(github.ref, '.0') | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Create Release | |
uses: softprops/action-gh-release@v1 | |
env: | |
# This token is provided by Actions, you do not need to create your own token | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
tag_name: ${{ github.ref }} | |
name: Release ${{ github.ref }} | |
draft: true | |
prerelease: false |