Chore: disable nightly release

This commit is contained in:
xjasonlyu
2021-07-17 10:48:19 +08:00
parent 591361abb3
commit b6d4272e58

View File

@@ -2,8 +2,6 @@ name: Publish Go Releases
on:
push:
branches:
- 'main'
tags:
- '*'
paths-ignore:
@@ -29,19 +27,6 @@ jobs:
- name: Build
run: make -j releases
- name: Upload Releases (nightly)
uses: softprops/action-gh-release@v1
if: github.ref == 'refs/heads/main'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files: build/*
draft: false
prerelease: true
name: Nightly Build
tag_name: nightly
body: Automatically Released by Actions.
- name: Upload Releases
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')