GCI make create release step only available on head

This commit is contained in:
Tofaa2 2025-05-01 13:41:36 +04:00
parent 74871b38bb
commit 9032d33058

View file

@ -39,6 +39,7 @@ jobs:
run: chmod +x ./gradlew && ./gradlew build
- name: Create Release
if: github.ref != 'refs/heads/master'
uses: softprops/action-gh-release@v2
with:
name: '${{ github.ref_name }}: ${{ github.event.head_commit.message }} (${{ github.sha }})'