File tree Expand file tree Collapse file tree 3 files changed +22
-2
lines changed Expand file tree Collapse file tree 3 files changed +22
-2
lines changed Original file line number Diff line number Diff line change 22
22
- cron : ' 00 19 * * *'
23
23
jobs :
24
24
GraphAr-ubuntu-arrow-from-source :
25
- if : ${{ github.ref == 'refs/heads/main' }}
25
+ if : ${{ github.ref == 'refs/heads/main' && github.repository == 'alibaba/GraphAr' }}
26
26
runs-on : ubuntu-latest
27
27
steps :
28
28
- uses : actions/checkout@v3
Original file line number Diff line number Diff line change 20
20
push :
21
21
branches :
22
22
- main
23
+ paths :
24
+ - ' spark/**'
25
+ - ' pyspark/**'
26
+ - ' .github/workflows/pyspark.yaml'
23
27
pull_request :
24
28
branches :
25
29
- main
30
+ paths :
31
+ - ' spark/**'
32
+ - ' pyspark/**'
33
+ - ' .github/workflows/pyspark.yaml'
26
34
27
35
concurrency :
28
36
group : ${{ github.repository }}-${{ github.event.number || github.head_ref || github.sha }}-${{ github.workflow }}
Original file line number Diff line number Diff line change 18
18
push :
19
19
tags :
20
20
- " v*"
21
+ workflow_dispatch :
21
22
23
+ concurrency :
24
+ group : ${{ github.repository }}-${{ github.event.number || github.head_ref || github.sha }}-${{ github.workflow }}
25
+ cancel-in-progress : true
22
26
23
27
# Automatically create a GitHub Release, with release details specified (the relevant commits)
24
28
jobs :
30
34
os : [ubuntu-latest]
31
35
32
36
steps :
33
- - name : Release
37
+ - name : Extract tag name
38
+ id : tag
39
+ if : ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && github.repository == 'alibaba/GraphAr' }}
40
+ run : echo "TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
41
+
42
+ - name : Cut a versioned release
34
43
uses : " marvinpinto/action-automatic-releases@latest"
44
+ if : ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && github.repository == 'alibaba/GraphAr' }}
35
45
with :
36
46
repo_token : " ${{ secrets.GITHUB_TOKEN }}"
47
+ automatic_release_tag : ${{ steps.tag.outputs.TAG }}
37
48
draft : true
38
49
prerelease : false
50
+ title : " GraphAr ${{ steps.tag.outputs.TAG }}"
You can’t perform that action at this time.
0 commit comments