Skip to content

feat: add schema and schema instance to package helloworld #82

feat: add schema and schema instance to package helloworld

feat: add schema and schema instance to package helloworld #82

Workflow file for this run

name: Test Publish Package
on:
pull_request:
paths:
- "**.mod"
jobs:
publish_pkg_local:
runs-on: ubuntu-latest
name: Publish packages to local registry
steps:
- name: Install kcl
run: wget -q https://kcl-lang.io/script/install-cli.sh -O - | /bin/bash
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v41
- name: test
run: |
export KPM_REG="localhost:5001"
export KPM_REPO="test"
export LOGIN_WITH_KCL=1
./scripts/reg.sh
kcl registry login -u test -p 1234 localhost:5001
for file in ${{ steps.changed-files.outputs.all_changed_files }}; do
./scripts/push_pkg_from.sh $file
done