Skip to content

fix: refactor compositions into configurations and docs #8

fix: refactor compositions into configurations and docs

fix: refactor compositions into configurations and docs #8

Workflow file for this run

name: Build
on:
pull_request: {}
workflow_dispatch:
inputs:
channel:
description: release channel
required: true
default: stable
version:
description: release version
required: true
default: current
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: setup Crossplane cli
uses: crossplane-contrib/xpkg-action@master
with:
channel: ${{ github.event.inputs.channel }}
version: ${{ github.event.inputs.version }}
command: -h
- name: Build xpkg
run: make build
env:
CROSSPLANE: './crossplane'
- name: Check if file changed
id: changed
uses: tj-actions/verify-changed-files@v20
with:
files: |
!crossplane
- name: No files changed
if: "${{ steps.changed.outputs.files_changed == 'true' }}"
run: "echo 'Please run `make build`' && exit 1"
env:
CHANGED_FILES: "${{ steps.changed.outputs.changed_files }}"