Skip to content

Commit 9925dfb

Browse files
authored
updatecli: add condition for assets.json (#572)
1 parent 455561e commit 9925dfb

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/updatecli.d/bump-golang.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,13 @@ conditions:
8282
spec:
8383
command: grep 'VERSION := {{ source `latestGoVersion` }}' go/Makefile.common && exit 1 || exit 0
8484
failwhen: false
85+
is-not-available:
86+
name: Is assets.json available?
87+
kind: file
88+
disablesourceinput: true
89+
spec:
90+
file: https://aka.ms/golang/release/latest/go{{ source `latestGoVersion` }}.assets.json
91+
failwhen: true
8592

8693
targets:
8794
update-go-version:

0 commit comments

Comments
 (0)