File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -38,11 +38,11 @@ jobs:
38
38
contents : read
39
39
runs-on : ubuntu-22.04
40
40
steps :
41
- # - name: check branch
42
- # if: ${{ github.ref_name != 'main' }}
43
- # run: |
44
- # echo "only the main branch can be published."
45
- # exit 1
41
+ - name : check branch
42
+ if : ${{ github.ref_name != 'main' }}
43
+ run : |
44
+ echo "only the main branch can be published."
45
+ exit 1
46
46
# checkout specific source repository
47
47
- uses : actions/checkout@v3
48
48
with :
@@ -70,11 +70,11 @@ jobs:
70
70
publish-python :
71
71
runs-on : ubuntu-22.04
72
72
steps :
73
- # - name: check branch
74
- # if: ${{ github.ref_name != 'main' }}
75
- # run: |
76
- # echo "only the main branch can be published."
77
- # exit 1
73
+ - name : check branch
74
+ if : ${{ github.ref_name != 'main' }}
75
+ run : |
76
+ echo "only the main branch can be published."
77
+ exit 1
78
78
# checkout specific source repository
79
79
- uses : actions/checkout@v3
80
80
# checkout this workflow repository to get actions
You can’t perform that action at this time.
0 commit comments