Skip to content

Commit 9473d7d

Browse files
authored
chore: revert #2032 (#2064)
This reverts commit 90b5f3a, see rationale in #2032 (comment)
1 parent f138960 commit 9473d7d

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

.github/workflows/ci.yml

+4-9
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
name: ci
22
on:
33
workflow_dispatch:
4-
inputs:
5-
kubo-version:
6-
description: Kubo version to use during the run
7-
required: false
84
push:
95
branches:
106
- main
@@ -65,7 +61,6 @@ jobs:
6561
- uses: ipfs/download-ipfs-distribution-action@v1
6662
with:
6763
name: kubo
68-
version: ${{ github.event.inputs.kubo-version }}
6964
- uses: ipfs/download-ipfs-distribution-action@v1
7065
with:
7166
name: ipfs-cluster-ctl
@@ -141,13 +136,13 @@ jobs:
141136
142137
# dev dnslink is updated on each main branch update
143138
- 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'
145140
env:
146141
DNSIMPLE_TOKEN: ${{ secrets.DNSIMPLE_TOKEN }}
147142

148143
# production dnslink is updated on release (during tag build)
149144
- 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'
151146
env:
152147
DNSIMPLE_TOKEN: ${{ secrets.DNSIMPLE_TOKEN }}
153148

@@ -226,7 +221,7 @@ jobs:
226221
name: ipfs-webui_${{ github.sha }}.car
227222

228223
- name: Dry-run semantic release
229-
if: github.ref != 'refs/heads/main' && !github.event.inputs.kubo-version
224+
if: github.ref != 'refs/heads/main'
230225
run: |
231226
git config user.name "ipfs-gui-bot"
232227
git config user.email "[email protected]"
@@ -236,7 +231,7 @@ jobs:
236231

237232
# Update the version (npm version [major|minor|patch])
238233
- 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'
240235
run: |
241236
git config user.name "ipfs-gui-bot"
242237
git config user.email "[email protected]"

0 commit comments

Comments
 (0)