Skip to content

add github piplines and builder #1

add github piplines and builder

add github piplines and builder #1

name: Publish
on:
push:
tags:
- '*'
jobs:
build:
name: Publish binaries
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: '18.x'
- run: npm i
- run: npm run build
- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: crd-client-generator-js
asset_name: crd-client-generator-js-linux-amd64
tag: ${{ github.ref }}
overwrite: true