aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 5989a02..0cd0b64 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -72,6 +72,8 @@ jobs:
name: Prepare a release
runs-on: ubuntu-22.04
needs: build
+ permissions:
+ contents: write
if: ${{ 'push' == github.event_name && startsWith(github.ref, 'refs/tags/') }}
steps:
- uses: actions/checkout@v4
@@ -92,4 +94,4 @@ jobs:
env:
GH_TOKEN: ${{ github.token }}
run: |
- gh release create -t "Firmament ${GITHUB_REF#refs/tags/}" "${GITHUB_REF#refs/tags/}" -F "changelog.md" "*.jar"
+ gh release create --draft -t "Firmament ${GITHUB_REF#refs/tags/}" "${GITHUB_REF#refs/tags/}" -F "changelog.md" "*.jar"