Skip to content

Commit

Permalink
Create a release when a tag is pushed
Browse files Browse the repository at this point in the history
  • Loading branch information
jburel committed Nov 14, 2024
1 parent 213bb61 commit 6e099b0
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---

name: Create Release
on:
push:
# Sequence of patterns matched against refs/tags
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
jobs:
build:
name: Create Release
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Create Release
id: create_release
uses: elgohr/Github-Release-Action@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag: ${{ github.ref }}
tile: Release ${{ github.ref }}

0 comments on commit 6e099b0

Please sign in to comment.