GCI make create release step only available on head
This commit is contained in:
parent
74871b38bb
commit
9032d33058
1 changed files with 1 additions and 0 deletions
1
.github/workflows/dev-build-release.yml
vendored
1
.github/workflows/dev-build-release.yml
vendored
|
@ -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 }})'
|
||||
|
|
Loading…
Reference in a new issue