Skip to content

fix: correct download path for preview versions #24

fix: correct download path for preview versions

fix: correct download path for preview versions #24

Workflow file for this run

name: Build
on:
push:
branches:
- main
pull_request:
env:
MISE_GITHUB_TOKEN: ${{ secrets.MISE_GITHUB_TOKEN }}
jobs:
test:
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Mise
uses: jdx/mise-action@v2
- name: Link the plugin
run: mise plugins link --force "${PWD}"
- name: Smoke test
run: |
version=$(
mise ls-remote spark |
grep "$(mise latest spark)" |
grep "hadoop" |
sort |
head -1
)
mise --verbose x spark@"$version" -- spark-shell --version