Add option to specify version + better error handling #105
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
name: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
install: | |
strategy: | |
matrix: | |
platform: ["ubuntu-latest", "macos-latest"] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- name: Setup Java JDK | |
uses: actions/[email protected] | |
with: | |
distribution: oracle | |
java-version: 17 | |
- name: Print diagnostics | |
run: | | |
echo $PATH | |
echo ~ | |
shell: bash | |
- name: Adjust $PATH (Windows only) | |
run: | | |
echo "~/.local/bin" >> $GITHUB_PATH | |
shell: bash | |
if: ${{ matrix.platform == 'windows-latest' }} | |
- name: Check out the repository | |
uses: actions/checkout@v3 | |
- name: Install nightly all | |
run: | | |
bash install.sh nightly all | |
lfc --version | |
lfd --version | |
lff --version | |
which epoch | |
shell: bash | |
- name: Install stable all | |
run: | | |
bash install.sh stable all | |
lfc --version | |
lfd --version | |
lff --version | |
which epoch | |
shell: bash | |
- name: Install epoch cli | |
run: | | |
bash install.sh epoch cli | |
lfc --version | |
lfd --version | |
lff --version | |
which epoch | |
shell: bash |