mirror of
https://github.com/kubevela/kubevela.git
synced 2026-08-27 16:17:34 +00:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.0 to 6.0.3. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4.1.0...df4cb1c069e1874edd31b4311f1884172cec0e10) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 6.0.3 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
50 lines
1.1 KiB
YAML
50 lines
1.1 KiB
YAML
name: Sync SDK
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- vela-templates/definitions/internal/**
|
|
- pkg/definition/gen_sdk/**
|
|
- .github/workflows/sync-sdk.yaml
|
|
tags:
|
|
- "v*"
|
|
branches:
|
|
- master
|
|
- release-*
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
sync_sdk:
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
|
|
- name: Check out code into the Go module directory
|
|
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10
|
|
|
|
- name: Env setup
|
|
uses: ./.github/actions/env-setup
|
|
|
|
- name: Install Go tools
|
|
run: |
|
|
make goimports
|
|
|
|
- name: Build CLI
|
|
run: make vela-cli
|
|
|
|
- name: Setup KinD
|
|
uses: ./.github/actions/setup-kind-cluster
|
|
with:
|
|
name: sync-sdk
|
|
|
|
- name: Get the version
|
|
id: get_version
|
|
run: echo "VERSION=${GITHUB_REF}" >> $GITHUB_OUTPUT
|
|
|
|
- name: Sync SDK to kubevela/kubevela-go-sdk
|
|
run: bash ./hack/sdk/sync.sh
|
|
env:
|
|
SSH_DEPLOY_KEY: ${{ secrets.GO_SDK_DEPLOY_KEY }}
|
|
VERSION: ${{ steps.get_version.outputs.VERSION }}
|
|
COMMIT_ID: ${{ github.sha }}
|