Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,23 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Pull Request Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
ref: ${{github.event.pull_request.head.ref}}
repository: ${{github.event.pull_request.head.repo.full_name}}
if: github.head_ref != ''
- name: Push Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
if: github.head_ref == ''
- name: Set up JDK
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
java-version: ${{matrix.jdk}}
java-version: ${{ matrix.jdk }}
distribution: 'temurin'
- name: Set up Python 3
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: 3.9
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
Expand Down
10 changes: 5 additions & 5 deletions dependency-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ WORKING_DIR=$(cd $(dirname "$0") && pwd)

# export SHELLOPTS

if [ -d "/tmp/plume-scripts" ] ; then
git -C /tmp/plume-scripts pull -q
if [ -d "/tmp/git-scripts" ] ; then
git -C /tmp/git-scripts pull -q
else
git -C /tmp clone --depth 1 -q https://github.com/plume-lib/plume-scripts.git
git -C /tmp clone --depth 1 -q https://github.com/eisop-plume-lib/git-scripts.git
fi

#default value is opprop. REPO_SITE may be set to other value for travis test purpose.
Expand All @@ -23,7 +23,7 @@ echo "------ Downloading everything from REPO_SITE: $REPO_SITE ------"
if [ -d $JSR308/checker-framework-inference ] ; then
(cd $JSR308/checker-framework-inference && git pull)
else
/tmp/plume-scripts/git-clone-related $REPO_SITE checker-framework-inference $JSR308/checker-framework-inference
/tmp/git-scripts/git-clone-related $REPO_SITE checker-framework-inference $JSR308/checker-framework-inference
fi

(cd $JSR308/checker-framework-inference && ./.ci-build-without-test.sh)
Expand All @@ -32,7 +32,7 @@ fi
if [ -d $JSR308/do-like-javac ] ; then
(cd $JSR308/do-like-javac && git pull)
else
/tmp/plume-scripts/git-clone-related $REPO_SITE do-like-javac $JSR308/do-like-javac
/tmp/git-scripts/git-clone-related $REPO_SITE do-like-javac $JSR308/do-like-javac
fi

##### build ontology without testing
Expand Down
Loading