mirror of
https://github.com/xjasonlyu/tun2socks.git
synced 2025-10-25 01:31:06 +08:00
Chore: disable nightly release
This commit is contained in:
15
.github/workflows/release.yml
vendored
15
.github/workflows/release.yml
vendored
@@ -2,8 +2,6 @@ name: Publish Go Releases
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
|
||||||
- 'main'
|
|
||||||
tags:
|
tags:
|
||||||
- '*'
|
- '*'
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
@@ -29,19 +27,6 @@ jobs:
|
|||||||
- name: Build
|
- name: Build
|
||||||
run: make -j releases
|
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
|
- name: Upload Releases
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
|
|||||||
Reference in New Issue
Block a user