Merge pull request #37 from joschi/fix-github-workflow

Fix the GitHub tests workflow
This commit is contained in:
Scott McLeod 2019-12-30 11:49:27 -05:00 committed by GitHub
commit d9390c84a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 4 deletions

View File

@ -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"

View File

@ -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