Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
husimplicity committed Apr 29, 2024
1 parent 2527d64 commit 6c79519
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions .github/workflows/build-graphscope-images-linux.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
name: Build GraphScope Images on Linux

on: [push, pull_request]
# on:
# workflow_dispatch:
# schedule:
# # The notifications for scheduled workflows are sent to the user who
# # last modified the cron syntax in the workflow file.
# # Trigger the workflow at 03:00(CST) every day.
# - cron: '00 19 * * *'
# push:
# tags:
# - "v*"
# pull_request:
# branches:
# - main
# paths:
# - 'k8s/dockerfiles/analytical.Dockerfile'
# - 'k8s/dockerfiles/coordinator.Dockerfile'
# - 'k8s/dockerfiles/interactive.Dockerfile'
# - 'k8s/dockerfiles/learning.Dockerfile'
# - 'k8s/dockerfiles/graphlearn-torch.Dockerfile'
# - '.github/workflows/build-graphscope-images-linux.yml'
# on: [push, pull_request]
on:
workflow_dispatch:
schedule:
# The notifications for scheduled workflows are sent to the user who
# last modified the cron syntax in the workflow file.
# Trigger the workflow at 03:00(CST) every day.
- cron: '00 19 * * *'
push:
tags:
- "v*"
pull_request:
branches:
- main
paths:
- 'k8s/dockerfiles/analytical.Dockerfile'
- 'k8s/dockerfiles/coordinator.Dockerfile'
- 'k8s/dockerfiles/interactive.Dockerfile'
- 'k8s/dockerfiles/learning.Dockerfile'
- 'k8s/dockerfiles/graphlearn-torch.Dockerfile'
- '.github/workflows/build-graphscope-images-linux.yml'

concurrency:
group: ${{ github.repository }}-${{ github.event.number || github.head_ref || github.sha }}-${{ github.workflow }}
Expand All @@ -31,7 +31,7 @@ env:

jobs:
build-image-x86-64:
# if: (github.ref == 'refs/heads/main' && github.repository == 'alibaba/GraphScope') || (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && github.repository == 'alibaba/GraphScope') || (github.pull_request == 'pull_request') || (github.event_name == 'workflow_dispatch')
if: (github.ref == 'refs/heads/main' && github.repository == 'alibaba/GraphScope') || (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && github.repository == 'alibaba/GraphScope') || (github.pull_request == 'pull_request') || (github.event_name == 'workflow_dispatch')
runs-on: ubuntu-20.04

steps:
Expand Down

0 comments on commit 6c79519

Please sign in to comment.