From 490b80d0dd8995c107fd6422e7b6e95c7d20dff9 Mon Sep 17 00:00:00 2001 From: Duologic Date: Mon, 2 Dec 2024 21:42:19 +0100 Subject: [PATCH] ci: install jrsonnet --- .github/workflows/build.yaml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index c35b6d9..268846d 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -27,18 +27,26 @@ jobs: version: ${{ github.event.inputs.version }} command: -h + - name: move crossplane cli + run: "mv ./crossplane $TARGET_PATH" + env: + TARGET_PATH: "${{ github.workspace }}/bin" + + - name: setup jrsonnet + uses: Duologic/tanka-exporter-workflow/.github/actions/jrsonnet-install@main + - name: Build xpkg - run: make -B build + run: "make -B build" shell: bash env: - CROSSPLANE: './crossplane' + CROSSPLANE: '${{ github.workspace }}/bin/crossplane' - name: Check if file changed id: changed uses: tj-actions/verify-changed-files@v20 with: files: | - !crossplane + !bin - name: No files changed if: "${{ steps.changed.outputs.files_changed == 'true' }}"