mirror of
https://github.com/songquanpeng/one-api.git
synced 2026-01-21 02:12:37 +08:00
fix: add branch check
This commit is contained in:
3
.github/workflows/linux-release.yml
vendored
3
.github/workflows/linux-release.yml
vendored
@@ -4,8 +4,6 @@ permissions:
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
tags:
|
||||
- 'v*.*.*'
|
||||
- '!*-alpha*'
|
||||
@@ -17,6 +15,7 @@ on:
|
||||
jobs:
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.ref == 'refs/heads/main'
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
Reference in New Issue
Block a user