Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
lidongze0629 committed Sep 27, 2024
1 parent 310c433 commit 7c9e101
Showing 1 changed file with 10 additions and 18 deletions.
28 changes: 10 additions & 18 deletions .github/workflows/build-graphscope-wheels-macos.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,24 @@
name: Build GraphScope Wheels on macOS

# 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*"

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:
branches:
- main
pull_request:
branches:
- main
tags:
- "v*"

concurrency:
group: ${{ github.repository }}-${{ github.event.number || github.head_ref || github.sha }}-${{ github.workflow }}
cancel-in-progress: true

jobs:
build-wheels:
# 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.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.event_name == 'workflow_dispatch')
runs-on: macos-13
strategy:
matrix:
Expand Down Expand Up @@ -103,7 +95,7 @@ jobs:
retention-days: 5

build-client-wheels:
# 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.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.event_name == 'workflow_dispatch')
runs-on: macos-13
strategy:
matrix:
Expand Down

0 comments on commit 7c9e101

Please sign in to comment.