We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32a5c12 commit 280db66Copy full SHA for 280db66
.github/workflows/build.yml
@@ -8,6 +8,9 @@ on:
8
type: string
9
required: false
10
11
+permissions:
12
+ contents: write
13
+
14
jobs:
15
build-ghostty:
16
name: Build Ghostty
@@ -30,10 +33,10 @@ jobs:
30
33
31
34
- name: Create Release
32
35
if: inputs.release_version != ''
- run: |
- if ! head -n 1 debian/changelog | grep -q '${{ inputs.release_version }}'; then
- echo "::error::Release version does not match changelog."
36
- exit 1
37
- fi
38
- gh release create "${{ inputs.release_version }}" -d ghostty_*.deb
+ uses: softprops/action-gh-release@v2
+ with:
+ draft: true
39
+ files: ghostty_*.deb
40
+ tag_name: ${{ inputs.release_version }}
41
+ fail_on_unmatched_files: true
42
0 commit comments