Skip to content

Commit c46c39d

Browse files
committed
Update yq installation in the release action.
1 parent cfa8dc1 commit c46c39d

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/release.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@ jobs:
4343
curl -LO "https://github.com/operator-framework/operator-sdk/releases/download/${RELEASE_VERSION}/operator-sdk_linux_amd64"
4444
chmod +x operator-sdk_linux_amd64 && sudo mkdir -p /usr/local/bin/ && sudo mv operator-sdk_linux_amd64 /usr/local/bin/operator-sdk
4545
46+
- name: Set up yq
47+
run: |
48+
sudo wget https://github.com/mikefarah/yq/releases/download/v4.6.0/yq_linux_amd64 -O /usr/bin/yq
49+
sudo chmod +x /usr/bin/yq
50+
yq --help
51+
4652
- name: build release
4753
id: build_release
4854
env:
@@ -88,20 +94,14 @@ jobs:
8894
with:
8995
java-version: 1.8
9096

91-
- name: Set up yq
92-
run: |
93-
sudo wget https://github.com/mikefarah/yq/releases/download/v4.6.0/yq_linux_amd64 -O /usr/bin/yq
94-
sudo chmod +x /usr/bin/yq
95-
yq --help
96-
9797
- name: Login to GitHub Packages Docker Registry
9898
uses: docker/login-action@v1
9999
with:
100100
registry: docker.pkg.github.com
101101
username: tuteng
102102
password: ${{ secrets.IMAGE_GITHUB_TOKEN }}
103103

104-
- name: Auto generate crd model
104+
- name: Auto generate crd model
105105
run: cd mesh-worker-service && ./tool/generate-crd.sh
106106

107107
- name: Format license

0 commit comments

Comments
 (0)