Skip to content

Commit

Permalink
Fixed github flow
Browse files Browse the repository at this point in the history
  • Loading branch information
mdorofeev committed Feb 9, 2021
1 parent 8f2afdd commit 57518b2
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ env:

jobs:
build:
runs-on: ubuntu-latest
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
Expand All @@ -23,10 +23,8 @@ jobs:
run: echo ::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3)
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Create temp dir
run: mkdir tmp/
- name: Build with Gradle
run: ./gradlew -Djava.io.tmpdir=./tmp/ -Pversion=${{ steps.get_version.outputs.VERSION }} dokkaJavadoc build bintrayUpload
run: ./gradlew -Pversion=${{ steps.get_version.outputs.VERSION }} dokkaJavadoc build bintrayUpload
- uses: actions/upload-artifact@v1
with:
name: Package
Expand Down

0 comments on commit 57518b2

Please sign in to comment.