mirror of
https://github.com/halcyon/asdf-java.git
synced 2024-10-06 15:52:10 +08:00
Merge pull request #37 from joschi/fix-github-workflow
Fix the GitHub tests workflow
This commit is contained in:
commit
d9390c84a4
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"
|
||||
|
@ -1,5 +1,5 @@
|
||||
language: c
|
||||
script: asdf plugin-test java $TRAVIS_BUILD_DIR
|
||||
script: asdf plugin-test java "$TRAVIS_BUILD_DIR" --asdf-plugin-gitref "$TRAVIS_COMMIT"
|
||||
before_script:
|
||||
- git clone https://github.com/asdf-vm/asdf.git
|
||||
- . asdf/asdf.sh
|
||||
|
Loading…
Reference in New Issue
Block a user