Skip to content
/ titan Public
forked from titan-data/titan

Commit

Permalink
mac os actions fix (titan-data#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
Derek Smart authored and mcred committed Nov 19, 2019
1 parent 0ff0302 commit 59ba334
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,18 +50,18 @@ jobs:
path: releases
build-macos:
name: Build macOS
runs-on: macOS-10.14
runs-on: macos-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-java@v1
with:
java-version: '8.0.212'
- name: Setup Env
run: ./scripts/setup.sh macOS-10.14
run: ./scripts/setup.sh macos-latest
- name: Build Jar
run: ./scripts/compile-maven.sh
- name: Compile Binary
run: ./scripts/build.sh macOS-10.14
run: ./scripts/build.sh macos-latest
- name: Upload Binary
uses: actions/upload-artifact@master
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-18.04, windows-2019, macOS-10.14]
os: [ubuntu-18.04, windows-2019, macos-latest]
steps:
- uses: actions/checkout@v1
- uses: actions/setup-java@v1
Expand Down
2 changes: 1 addition & 1 deletion scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if [ $os = "ubuntu-18.04" ]; then
fi

#Setup OSX
if [ $os = "macOS-10.14" ]; then
if [ $os = "macos-latest" ]; then
export PATH=${PWD}/graalvm-ce-19.0.0/Contents/Home/bin:$PATH
export JAVA_HOME=${PWD}/graalvm-ce-19.0.0/Contents/Home/jre
${PWD}/scripts/build-osx.sh
Expand Down
2 changes: 1 addition & 1 deletion scripts/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if [ $os = "ubuntu-18.04" ]; then
fi

#Setup OSX
if [ $os = "macOS-10.14" ]; then
if [ $os = "macos-latest" ]; then
echo $os
curl -L https://github.com/oracle/graal/releases/download/vm-19.0.0/graalvm-ce-darwin-amd64-19.0.0.tar.gz --output graal.tar.gz
gunzip -c graal.tar.gz | tar xopf -
Expand Down

0 comments on commit 59ba334

Please sign in to comment.