Skip to content
This repository has been archived by the owner on Jun 1, 2020. It is now read-only.

Commit

Permalink
wip github release of binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
mroth committed Sep 16, 2019
1 parent a72d394 commit 991c7d8
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
image: oracle/graalvm-ce:19.1.1
steps:
- name: install native-image
run: gu install native-image
run: gu install native-image
- uses: actions/download-artifact@v1
with:
name: jar
Expand All @@ -59,14 +59,13 @@ jobs:
path: scalafmt-native_linux.tgz
name: scalafmt-native_linux


native-image-mac:
needs: [build-jar]
runs-on: macOS-10.14
steps:
- name: download GraalVM release
env:
VERSION: '19.1.1'
VERSION: "19.1.1"
PLATFORM: darwin-amd64
run: |
curl -fsL https://github.com/oracle/graal/releases/download/vm-${VERSION}/graalvm-ce-${PLATFORM}-${VERSION}.tar.gz \
Expand All @@ -76,7 +75,7 @@ jobs:
- name: install native-image
env:
BIN_PATH: Contents/Home/bin
run: ./graalvm/${BIN_PATH}/gu install native-image
run: ./graalvm/${BIN_PATH}/gu install native-image
- uses: actions/download-artifact@v1
with:
name: jar
Expand All @@ -97,3 +96,17 @@ jobs:
with:
path: scalafmt-native_macOS.tgz
name: scalafmt-native_macOS

releaser:
needs: [native-image-linux, native-image-mac]
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v1
with:
name: scalafmt-native_macOS
path: .
- uses: actions/download-artifact@v1
with:
name: scalafmt-native_linux
path: .
- run: ls -lh

0 comments on commit 991c7d8

Please sign in to comment.