-
Notifications
You must be signed in to change notification settings - Fork 0
56 lines (46 loc) · 1.25 KB
/
release.yml
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
name: Release
on:
push:
branches:
- main
permissions: {}
defaults:
run:
shell: bash
jobs:
release:
runs-on: ubuntu-24.04
timeout-minutes: 10
permissions:
contents: write # for GitHub Release
issues: write # for commenting on issues
pull-requests: write # for commenting on pull requests
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0 # fetch all history for semantic-release
persist-credentials: false
- name: Install mise
uses: jdx/mise-action@5083fe46898c414b2475087cc79da59e7da859e8 # v2.1.11
with:
version: 2024.12.24
cache_save: ${{ github.ref_name == 'main' }}
env:
GITHUB_TOKEN: ${{ github.token }}
- name: Release
env:
GITHUB_TOKEN: ${{ github.token }}
run: bun run semantic-release
actions-timeline:
needs:
- release
if: ${{ !cancelled() }}
runs-on: ubuntu-24.04
timeout-minutes: 5
permissions:
actions: read
steps:
- name: actions-timeline
# cspell:ignore kesin
uses: Kesin11/actions-timeline@3046833d9aacfd7745c5264b7f3af851c3e2a619 # v2.2.1