Skip to content

Commit 6e1effa

Browse files
bastelfreakekohl
andcommitted
CI: Add release action
Co-authored-by: Ewoud Kohl van Wijngaarden <[email protected]>
1 parent f412882 commit 6e1effa

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/release.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
name: Release
3+
4+
on:
5+
push:
6+
tags:
7+
- '*'
8+
9+
jobs:
10+
release:
11+
name: Release
12+
runs-on: ubuntu-24.04
13+
# Optional but recommended to use a specific environment
14+
environment: release
15+
# Prevent releases from forked repositories
16+
if: github.repository_owner == 'OpenVoxProject'
17+
18+
permissions:
19+
contents: write
20+
21+
steps:
22+
- name: Create Release Page
23+
shell: bash
24+
env:
25+
GH_TOKEN: ${{ github.token }}
26+
run: gh release create --repo ${{ github.repository }} ${{ github.ref_name }} --generate-notes

0 commit comments

Comments
 (0)