forked from tink3rlabs/magic
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (37 loc) · 829 Bytes
/
release.yml
File metadata and controls
41 lines (37 loc) · 829 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Release
on:
workflow_run:
workflows: [CI]
branches: [main]
types:
- completed
concurrency:
group: release-${{ github.ref }}
cancel-in-progress: false
defaults:
run:
shell: bash
jobs:
release:
name: Create Release
runs-on: ubuntu-latest
timeout-minutes: 15
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-go@v5
with:
go-version: '1.25.3'
cache: true
- name: Create Release
uses: go-semantic-release/action@v1
with:
hooks: goreleaser
changelog-file: CHANGELOG.md
allow-initial-development-versions: true
prepend: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}