mirror of
https://github.com/halcyon/asdf-java.git
synced 2024-10-06 07:42:09 +08:00
Fix the GitHub tests workflow
This commit is contained in:
parent
945a32c71d
commit
691320dc5e
9
.github/workflows/tests.yml
vendored
9
.github/workflows/tests.yml
vendored
@ -15,13 +15,16 @@ jobs:
|
||||
env:
|
||||
TERM: dumb
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/checkout@v2
|
||||
- uses: mstksg/get-package@v1
|
||||
with:
|
||||
brew: coreutils
|
||||
- name: Install asdf
|
||||
run: git clone --quiet https://github.com/asdf-vm/asdf.git
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
repository: asdf-vm/asdf
|
||||
path: asdf
|
||||
- name: Run tests
|
||||
run: |
|
||||
. asdf/asdf.sh
|
||||
asdf plugin-test java $GITHUB_WORKSPACE
|
||||
asdf plugin-test java "$GITHUB_WORKSPACE" --asdf-plugin-gitref "$GITHUB_SHA"
|
||||
|
Loading…
Reference in New Issue
Block a user