fix: correct download path for preview versions #24
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
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 |