Skip to content

chore: restore use of GHCR_TOKEN #89

chore: restore use of GHCR_TOKEN

chore: restore use of GHCR_TOKEN #89

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.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