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:
Delyan Angelov 2023-10-05 12:00:51 +03:00
parent beaa33a9bc
commit b10342eeaa
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
4 changed files with 9 additions and 1 deletions

View File

@ -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/

View File

@ -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

View File

@ -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

View File

@ -9,6 +9,7 @@ on:
- master
paths-ignore:
- "**.md"
- "**.yml"
jobs:
vinix-build: