Skip to content

Commit

Permalink
feat: update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
yaokl committed Feb 19, 2024
1 parent 36b0ca8 commit 77d53cc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,6 @@ jobs:
md5sum _output/kubeadm-darwin-amd64 > _output/kubeadm-darwin-amd64.md5 && sha256sum _output/kubeadm-darwin-amd64 > _output/kubeadm-darwin-amd64.sha256
md5sum _output/kubeadm-windows-amd64.exe > _output/kubeadm-windows-amd64.exe.md5 && sha256sum _output/kubeadm-windows-amd64.exe > _output/kubeadm-windows-amd64.exe.sha256
echo -e "Set the validity period of the kubeadm certificate to 10 years. \n source: ${APP_REPO}/releases/tag/${ADD_TAG}\n" > _output/CHECKSUMS.txt
cat _output/kubeadm-linux-{amd64,arm64}.{md5,sha256} >> _output/CHECKSUMS.txt
cat _output/kubeadm-darwin-amd64.{md5,sha256} >> _output/CHECKSUMS.txt
cat _output/kubeadm-windows-amd64.exe.{md5,sha256} >> _output/CHECKSUMS.txt
ls -al _output/kubeadm-*
_output/kubeadm-linux-amd64 version
Expand All @@ -90,6 +85,11 @@ jobs:
[[ "x${ADD_TAG:-}" == "x" ]] && return 1 || echo ok
echo "ADD_TAG=${ADD_TAG}" >> $GITHUB_OUTPUT
echo -e "Set the validity period of the kubeadm certificate to 10 years. \nrepo: https://github.com/kubernetes/kubernetes/releases/tag/${ADD_TAG}\n" > _output/CHECKSUMS.txt
cat _output/kubeadm-linux-{amd64,arm64}.{md5,sha256} >> _output/CHECKSUMS.txt
cat _output/kubeadm-darwin-amd64.{md5,sha256} >> _output/CHECKSUMS.txt
cat _output/kubeadm-windows-amd64.exe.{md5,sha256} >> _output/CHECKSUMS.txt
echo "::debug::[Push file]"
cd ${GITHUB_WORKSPACE}
echo "${ADD_TAG}" >> kube_version.txt
Expand Down

0 comments on commit 77d53cc

Please sign in to comment.