Skip to content

Commit fa30063

Browse files
committed
Fix release workflow
gh(1) needs a git repository to work with, so checkout the code before using it. While here, adjust the workflow/action name.
1 parent 67272da commit fa30063

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/release.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: Gem Release
2+
name: Release
33

44
on:
55
push:
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
release:
11-
name: Release gem
11+
name: Release
1212
runs-on: ubuntu-24.04
1313
# Optional but recommended to use a specific environment
1414
environment: release
@@ -19,6 +19,10 @@ jobs:
1919
contents: write
2020

2121
steps:
22+
- name: Checkout current PR
23+
uses: actions/checkout@v4
24+
with:
25+
fetch-depth: 0
2226
- name: Create Release Page
2327
shell: bash
2428
env:

0 commit comments

Comments
 (0)