forked from wdreeveii/goawx
-
Notifications
You must be signed in to change notification settings - Fork 19
40 lines (34 loc) · 999 Bytes
/
release.yaml
File metadata and controls
40 lines (34 loc) · 999 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
name: Release
on:
workflow_dispatch:
push:
branches:
- 'main'
tags-ignore:
- '**'
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token
- name: Release
id: release
uses: cycjimmy/semantic-release-action@v4
with:
branches: |
[
'main'
]
extra_plugins: |
@semantic-release/commit-analyzer@12.0.0
@semantic-release/release-notes-generator@13.0.0
@semantic-release/changelog@6.0.3
@semantic-release/git@10.0.1
@semantic-release/github@10.0.5
env:
GIT_CREDENTIALS: git:${{ secrets.PAT }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}