Skip to content

feat: add udp support #32

feat: add udp support

feat: add udp support #32

Workflow file for this run

name: Makefile CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
# runs-on: self-hosted
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '1.18.2'
- name: Run Build
run: |
ksDir="../../kubesphere"
tag="v3.3.0"
if [ -d "$ksDir" ]; then
pushd "${ksDir}/"
branch=$(git rev-parse --abbrev-ref HEAD|awk -F / '{print $2}')
if [ x"$branch" != x"$tag" ]; then
git checkout -b $tag
fi
popd &>/dev/null
else
git clone https://github.com/kubesphere/kubesphere.git "${ksDir}"
pushd "${ksDir}/"
git checkout -b $tag
popd &>/dev/null
fi
make all