mirror of
https://github.com/kubevela/kubevela.git
synced 2026-08-19 04:26:39 +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>
35 lines
825 B
YAML
35 lines
825 B
YAML
name: sync-api
|
|
on:
|
|
push:
|
|
paths:
|
|
- 'apis/**'
|
|
- 'pkg/oam/**'
|
|
tags:
|
|
- "v*"
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
sync-core-api:
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- name: Check out code into the Go module directory
|
|
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10
|
|
|
|
- name: Setup Env
|
|
uses: ./.github/actions/env-setup
|
|
|
|
- name: Get the version
|
|
id: get_version
|
|
run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
|
|
|
|
- name: Sync to kubevela-core-api Repo
|
|
env:
|
|
SSH_DEPLOY_KEY: ${{ secrets.VELA_API_DEPLOY }}
|
|
VERSION: ${{ steps.get_version.outputs.VERSION }}
|
|
COMMIT_ID: ${{ github.sha }}
|
|
run: |
|
|
bash ./hack/apis/clientgen.sh
|
|
bash ./hack/apis/sync.sh sync
|