mirror of
https://github.com/vlang/v.git
synced 2025-09-17 11:26:17 -04:00
ci: skip more checks on manual new tag/release pushes (already done in the previous ci runs for the same commit)
This commit is contained in:
parent
beaa33a9bc
commit
b10342eeaa
2
.github/workflows/docs_ci.yml
vendored
2
.github/workflows/docs_ci.yml
vendored
@ -15,6 +15,7 @@ on:
|
||||
jobs:
|
||||
check-markdown:
|
||||
runs-on: ubuntu-20.04
|
||||
if: github.event_name != 'push' || github.event.ref == 'refs/heads/master' || github.event.repository.full_name != 'vlang/v'
|
||||
timeout-minutes: 5
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
@ -27,6 +28,7 @@ jobs:
|
||||
|
||||
report-missing-fn-doc:
|
||||
runs-on: ubuntu-20.04
|
||||
if: github.event_name != 'push' || github.event.ref == 'refs/heads/master' || github.event.repository.full_name != 'vlang/v'
|
||||
timeout-minutes: 5
|
||||
env:
|
||||
MOPTIONS: --relative-paths --exclude /vlib/v/ --exclude /builtin/linux_bare/ --exclude /testdata/ --exclude /tests/
|
||||
|
2
.github/workflows/module_docs_ci.yml
vendored
2
.github/workflows/module_docs_ci.yml
vendored
@ -16,5 +16,5 @@ jobs:
|
||||
- name: Build module documentation
|
||||
run: ./v doc -m -f html vlib/
|
||||
- name: Deploy docs to vercel
|
||||
if: ${{ github.event_name == 'push' }}
|
||||
if: ${{ github.event_name == 'push' && github.event.repository.full_name == 'vlang/v' && github.event.ref == 'refs/heads/master' }}
|
||||
run: npx vercel --confirm --prod --name vmodules --token ${{ secrets.VERCEL_TOKEN }} vlib/_docs/ || true
|
||||
|
@ -42,6 +42,10 @@ on:
|
||||
- 'vlib/v/gen/native/**.v'
|
||||
- 'vlib/v/gen/native/tests/**.v'
|
||||
|
||||
concurrency:
|
||||
group: native-backend-ci-${{ github.event.pull_request.number || github.sha }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
native-backend:
|
||||
strategy:
|
||||
@ -52,6 +56,7 @@ jobs:
|
||||
windows-2019
|
||||
]
|
||||
runs-on: ${{ matrix.os }}
|
||||
if: github.event_name != 'push' || github.event.ref == 'refs/heads/master' || github.event.repository.full_name != 'vlang/v'
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
|
1
.github/workflows/vinix_ci.yml
vendored
1
.github/workflows/vinix_ci.yml
vendored
@ -9,6 +9,7 @@ on:
|
||||
- master
|
||||
paths-ignore:
|
||||
- "**.md"
|
||||
- "**.yml"
|
||||
|
||||
jobs:
|
||||
vinix-build:
|
||||
|
Loading…
x
Reference in New Issue
Block a user