File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -19,18 +19,18 @@ jobs:
1919 - uses : actions/checkout@v2
2020
2121 # Minimal publish
22- - uses : imjasonh/setup-ko@v0.2
22+ - uses : imjasonh/setup-ko@main
2323 - run : ko publish --bare ./
2424
2525 # Install an old release.
26- - uses : imjasonh/setup-ko@v0.2
26+ - uses : imjasonh/setup-ko@main
2727 with :
2828 version : v0.8.0
2929 - name : Check installed version
3030 run : ko version | grep 0.8.0
3131
3232 # Install from tip
33- - uses : imjasonh/setup-ko@v0.2
33+ - uses : imjasonh/setup-ko@main
3434 with :
3535 version : tip
3636 - name : Check installed version (tip)
Original file line number Diff line number Diff line change 2323 go get github.com/google/ko@main
2424 ;;
2525 latest-release)
26- tag=$(curl -s https://api.github.com/repos/google/ko/releases | jq -r '.[]. tag_name' | head -n 1 )
26+ tag=$(curl -s https://api.github.com/repos/google/ko/releases/latest | jq -r '.tag_name')
2727 ;;
2828 *)
2929 tag="${{ inputs.version }}"
You can’t perform that action at this time.
0 commit comments