File tree 1 file changed +8
-24
lines changed 1 file changed +8
-24
lines changed Original file line number Diff line number Diff line change @@ -70,27 +70,17 @@ jobs:
70
70
needs : [build]
71
71
runs-on : ubuntu-20.04
72
72
steps :
73
- - uses : actions/download-artifact@v4
74
- with :
75
- path : binaries
76
- pattern : avail-light-*
77
- merge-multiple : true
78
-
79
- - run : ls -R binaries
73
+ - uses : actions/download-artifact@v4
74
+ with :
75
+ path : binaries
76
+ pattern : avail-light-*
77
+ merge-multiple : true
80
78
81
- - name : Prepare
82
- id : prepare
83
- run : |
84
- TAG=${GITHUB_REF#refs/tags/}
85
- echo ::set-output name=tag_name::${TAG}
79
+ - run : ls -R binaries
86
80
87
81
trigger_deploy_workflow :
88
82
runs-on : ubuntu-latest
89
83
steps :
90
- - name : Extract tag name
91
- id : extract_tag
92
- run : echo "TAG_NAME=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
93
-
94
84
- name : Trigger repository_dispatch
95
85
shell : bash
96
86
run : |
@@ -101,20 +91,14 @@ jobs:
101
91
https://api.github.com/repos/availproject/avail-light-infra/dispatches \
102
92
-d '{"event_type": "binary_release", "client_payload": {"avail_light_version": "${{ github.ref_name }}"}}'
103
93
104
- trigger_crawler_build :
105
- runs-on : ubuntu-20.04
106
- steps :
107
- - name : Extract tag name
108
- id : extract_tag
109
- run : echo "TAG_NAME=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
110
-
111
94
- name : Trigger repository dispatch for crawler build
95
+ if : false
112
96
shell : bash
113
97
run : |
114
98
curl -s -o /dev/null -w "%{http_code}" \
115
99
-X POST \
116
100
-H "Accept: application/vnd.github.v3+json" \
117
101
-H "Authorization: token ${{ secrets.PAT_TOKEN }}" \
118
102
${{ secrets.CRAWLER_BUILD_URL}} \
119
- -d "{\"event_type\": \"lc_crawler_build\", \"client_payload\": {\"tag\": \"${{ env.TAG_NAME }}\"}}" \
103
+ -d "{\"event_type\": \"lc_crawler_build\", \"client_payload\": {\"tag\": \"${{ github.ref_name }}\"}}" \
120
104
| grep -q "204"
You can’t perform that action at this time.
0 commit comments