-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- set shell - setup jrsonnet - setup jsonnetfmt
- Loading branch information
Showing
2 changed files
with
18 additions
and
3 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,17 +27,31 @@ jobs: | |
version: ${{ github.event.inputs.version }} | ||
command: -h | ||
|
||
- name: move crossplane cli | ||
run: "mkdir -p $TARGET_PATH && mv ./crossplane $TARGET_PATH" | ||
env: | ||
TARGET_PATH: "${{ github.workspace }}/bin" | ||
|
||
- name: setup jsonnet-fmt | ||
run: | | ||
go install "github.com/google/go-jsonnet/cmd/[email protected]" | ||
echo "$HOME/go/bin" >> "$GITHUB_PATH" | ||
- name: setup jrsonnet | ||
uses: Duologic/tanka-exporter-workflow/.github/actions/jrsonnet-install@main | ||
|
||
- name: Build xpkg | ||
run: make 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' }}" | ||
|
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