refactor: move generated files to seperate directory #38
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
pull_request: {} | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: setup Crossplane cli | |
uses: crossplane-contrib/setup-crossplane-action@b40ed901610103a85d38c838a1e00fc54eb8d4c5 # v0.1.0 | |
- name: setup go-jsonnet | |
uses: zendesk/setup-jsonnet@f683a0d16f479db69751bd8d3a49a09e22b45b39 # v12 | |
with: | |
version: v0.20.0 | |
- name: setup jrsonnet | |
uses: grafana/shared-workflows/actions/setup-jrsonnet@main | |
- name: Build xpkg | |
run: "make -B build" | |
shell: bash | |
- name: Check if file changed | |
id: changed | |
uses: tj-actions/verify-changed-files@6ed7632824d235029086612d4330d659005af687 # v20.0.1 | |
with: | |
files: | | |
!bin | |
- 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 }}" |