1
1
name : ci
2
2
on :
3
3
workflow_dispatch :
4
- inputs :
5
- kubo-version :
6
- description : Kubo version to use during the run
7
- required : false
8
4
push :
9
5
branches :
10
6
- main
65
61
- uses : ipfs/download-ipfs-distribution-action@v1
66
62
with :
67
63
name : kubo
68
- version : ${{ github.event.inputs.kubo-version }}
69
64
- uses : ipfs/download-ipfs-distribution-action@v1
70
65
with :
71
66
name : ipfs-cluster-ctl
@@ -141,13 +136,13 @@ jobs:
141
136
142
137
# dev dnslink is updated on each main branch update
143
138
- run : npx dnslink-dnsimple --domain dev.webui.ipfs.io --link /ipfs/${{ steps.ipfs.outputs.cid }}
144
- if : github.ref == 'refs/heads/main' && !github.event.inputs.kubo-version
139
+ if : github.ref == 'refs/heads/main'
145
140
env :
146
141
DNSIMPLE_TOKEN : ${{ secrets.DNSIMPLE_TOKEN }}
147
142
148
143
# production dnslink is updated on release (during tag build)
149
144
- run : npx dnslink-dnsimple --domain webui.ipfs.io --link /ipfs/${{ steps.ipfs.outputs.cid }}
150
- if : github.ref == 'refs/heads/main' && github.event_name == 'workflow_dispatch' && !github.event.inputs.kubo-version
145
+ if : github.ref == 'refs/heads/main' && github.event_name == 'workflow_dispatch'
151
146
env :
152
147
DNSIMPLE_TOKEN : ${{ secrets.DNSIMPLE_TOKEN }}
153
148
@@ -226,7 +221,7 @@ jobs:
226
221
name : ipfs-webui_${{ github.sha }}.car
227
222
228
223
- name : Dry-run semantic release
229
- if : github.ref != 'refs/heads/main' && !github.event.inputs.kubo-version
224
+ if : github.ref != 'refs/heads/main'
230
225
run : |
231
226
git config user.name "ipfs-gui-bot"
232
227
git config user.email "[email protected] "
@@ -236,7 +231,7 @@ jobs:
236
231
237
232
# Update the version (npm version [major|minor|patch])
238
233
- name : Run semantic release
239
- if : github.ref == 'refs/heads/main' && github.event_name == 'workflow_dispatch' && !github.event.inputs.kubo-version
234
+ if : github.ref == 'refs/heads/main' && github.event_name == 'workflow_dispatch'
240
235
run : |
241
236
git config user.name "ipfs-gui-bot"
242
237
git config user.email "[email protected] "
0 commit comments