Skip to content

Commit b0f0328

Browse files
committed
-
1 parent 8cbdf1d commit b0f0328

2 files changed

Lines changed: 22 additions & 2 deletions

File tree

.github/workflows/pull-request.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Pull request
22
on: pull_request
33

44
jobs:
5-
build:
5+
pull-request:
66
runs-on: macos-15
77

88
steps:
@@ -12,7 +12,6 @@ jobs:
1212
env:
1313
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1414
run: |
15-
echo "GITHUB_TOKEN=${{ env.GITHUB_TOKEN }}" >> $GITHUB_ENV
1615
curl https://mise.run | sh
1716
mise install
1817

.github/workflows/release.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags:
6+
- '*'
7+
8+
jobs:
9+
release:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Draft release
14+
env:
15+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
16+
run: |
17+
TAG_NAME=${GITHUB_REF#refs/tags/}
18+
gh release create "$TAG_NAME" \
19+
--repo="$GITHUB_REPOSITORY" \
20+
--generate-notes \
21+
--draft

0 commit comments

Comments
 (0)