Skip to content

Commit

Permalink
Revert "Revert pinning node to 10"
Browse files Browse the repository at this point in the history
This reverts commit ee37176.
  • Loading branch information
nafg committed Dec 17, 2021
1 parent ee37176 commit 244ff35
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ jobs:
~/Library/Caches/Coursier/v1
key: ${{ runner.os }}-sbt-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }}

- uses: actions/setup-node@v2
with:
node-version: 10

- name: Check that workflows are up to date
run: sbt ++${{ matrix.scala }} githubWorkflowCheck

Expand Down Expand Up @@ -97,6 +101,10 @@ jobs:
~/Library/Caches/Coursier/v1
key: ${{ runner.os }}-sbt-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }}

- uses: actions/setup-node@v2
with:
node-version: 10

- name: Download target directories (2.12.15)
uses: actions/download-artifact@v2
with:
Expand Down
2 changes: 2 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ inThisBuild(List(
Nil),
dynverGitDescribeOutput ~= (_.map(o => o.copy(dirtySuffix = GitDirtySuffix("")))),
dynverSonatypeSnapshots := true,
githubWorkflowJobSetup +=
WorkflowStep.Use(UseRef.Public("actions", "setup-node", "v2"), params = Map("node-version" -> "10")),
githubWorkflowTargetTags ++= Seq("v*"),
githubWorkflowPublishTargetBranches := Seq(RefPredicate.StartsWith(Ref.Tag("v"))),
githubWorkflowPublish := Seq(
Expand Down

0 comments on commit 244ff35

Please sign in to comment.