Skip to content

fix: version

fix: version #75

Workflow file for this run

jobs:
plugins:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
include:
- os: ubuntu-latest
TARGET: linux
BINARY: jx-admin
- os: macos-latest
TARGET: darwin
BINARY: jx-admin
- os: windows-latest
TARGET: win
BINARY: jx-admin-windows-amd64.exe
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: '1.17.9'
- 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