Skip to content

Commit

Permalink
Update readme to latest setup-scala version
Browse files Browse the repository at this point in the history
  • Loading branch information
Olafur Pall Geirsson committed Oct 10, 2020
1 parent edbd478 commit 05b368d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ In your GitHub Actions workflow, add a `uses:` declaration before calling the
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
+ - uses: olafurpg/setup-scala@v5
+ - uses: olafurpg/setup-scala@v10
- name: Compile
run: sbt compile
```
Expand All @@ -47,7 +47,7 @@ The default Java version is the latest OpenJDK 8 HotSpot version via
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: olafurpg/setup-scala@v5
- uses: olafurpg/setup-scala@v10
+ with:
+ java-version: adopt@1.11
- name: Compile
Expand Down Expand Up @@ -83,7 +83,7 @@ fails.
+ fail-fast: false
steps:
- uses: actions/checkout@v1
- uses: olafurpg/setup-scala@v2
- uses: olafurpg/setup-scala@v10
- name: Compile
run: sbt compile
```
Expand Down Expand Up @@ -113,7 +113,7 @@ configure git to disable Windows line feeds.
+ run: "git config --global core.autocrlf false"
+ shell: bash
- uses: actions/checkout@v1
- uses: olafurpg/setup-scala@v2
- uses: olafurpg/setup-scala@v10
- name: Compile
+ shell: bash
run: sbt compile
Expand Down Expand Up @@ -141,7 +141,7 @@ compatibility with previous tagged release from the branch.
+ fetch-depth: 100
+ - name: Fetch tags
+ run: git fetch --depth=100 origin +refs/tags/*:refs/tags/*
- uses: olafurpg/setup-scala@v2
- uses: olafurpg/setup-scala@v10
- name: Compile
run: sbt compile
```

0 comments on commit 05b368d

Please sign in to comment.