1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-25 00:45:24 +00:00

Refine workflows (#464)

This commit is contained in:
Loyalsoldier 2020-11-27 08:33:44 +08:00 committed by GitHub
parent cfbb826e1e
commit 63912f99ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 6 deletions

View File

@ -7,11 +7,13 @@ on:
- v*
paths:
- "**/*.go"
- "go.mod"
- "go.sum"
release:
types: [prereleased]
jobs:
build:
package:
if: github.repository == 'v2fly/v2ray-core'
runs-on: ubuntu-latest
container: debian:sid

View File

@ -12,19 +12,15 @@ on:
- "**/*.go"
- "go.mod"
- "go.sum"
- ".github/workflows/*.yml"
- ".github/workflows/*.yaml"
pull_request:
types: [opened, synchronize, reopened]
paths:
- "**/*.go"
- "go.mod"
- "go.sum"
- ".github/workflows/*.yml"
- ".github/workflows/*.yaml"
jobs:
release:
build:
if: github.repository != 'v2ray/v2ray-core'
runs-on: ubuntu-latest
steps: