feat: use sparse or partial clone of upstream cluster repo when loading requirements for variablefinders #31
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
jobs: | |
plugins: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
include: | |
- os: ubuntu-latest | |
TARGET: linux | |
BINARY: jx-gitops | |
- os: macos-latest | |
TARGET: darwin | |
BINARY: jx-gitops | |
- os: windows-latest | |
TARGET: win | |
BINARY: jx-gitops-windows-amd64.exe | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: '1.22' | |
- run: make ${{ matrix.target }} | |
- run: | | |
./build/${{ matrix.target }}/${{ matrix.binary }} version | |
./build/${{ matrix.target }}/${{ matrix.binary }} plugin upgrade | |
./build/${{ matrix.target }}/${{ matrix.binary }} --help | |
- run: ls -al ~/.jx3/plugins/bin | |
if: ${{ runner.os != 'Windows' }} | |
- run: dir ~\.jx3\plugins\bin | |
if: ${{ runner.os == 'Windows' }} | |
on: | |
pull_request: | |
branches: | |
- main | |
- master |