-
Notifications
You must be signed in to change notification settings - Fork 446
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into update/docker-client-8.16.0
- Loading branch information
Showing
83 changed files
with
392 additions
and
309 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Scala Steward: Reformat with scalafmt 3.8.3 | ||
fb3b1e158c70f5b76207764dc42b128cb878b3be |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Publish Site | ||
on: | ||
push: | ||
tags: ["*"] | ||
jobs: | ||
publish: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
# setup build environment | ||
- uses: coursier/cache-action@v5 | ||
- uses: olafurpg/setup-scala@v12 | ||
|
||
# this setup is all for the github pages deployment to work | ||
- name: install sphinx | ||
run: | | ||
pip3 install --user sphinx sphinx_rtd_theme | ||
which sphinx-build | ||
- name: setup git | ||
run: | | ||
git config --global user.name github-actions | ||
git config --global user.email [email protected] | ||
- name: Publish Site | ||
run: sbt ghpagesPushSite | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,24 +20,6 @@ jobs: | |
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} | ||
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} | ||
|
||
# this setup is all for the github pages deployment to work | ||
- name: install sphinx | ||
run: | | ||
pip3 install --user sphinx sphinx_rtd_theme | ||
which sphinx-build | ||
- name: setup git | ||
run: | | ||
git config user.name github-actions | ||
git config user.email [email protected] | ||
- name: Install SSH key | ||
uses: shimataro/ssh-key-action@v2 | ||
with: | ||
key: ${{ secrets.SSH_KEY }} | ||
known_hosts: ${{ secrets.KNOWN_HOSTS }} | ||
- run: sbt ghpagesPushSite | ||
|
||
# generate a github release | ||
- name: Generate release changelog | ||
id: changelog | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,7 @@ libraryDependencies ++= Seq( | |
"org.apache.ant" % "ant" % "1.10.14", | ||
// workaround for the command line size limit | ||
"com.github.eldis" % "tool-launcher" % "0.2.2", | ||
"org.scalatest" %% "scalatest" % "3.0.9" % Test | ||
"org.scalatest" %% "scalatest" % "3.2.19" % Test | ||
) | ||
|
||
// sbt dependent libraries | ||
|
@@ -53,7 +53,12 @@ libraryDependencies ++= { | |
// configure github page | ||
enablePlugins(SphinxPlugin, SiteScaladocPlugin, GhpagesPlugin, SbtPlugin) | ||
|
||
git.remoteRepo := "[email protected]:sbt/sbt-native-packager.git" | ||
git.remoteRepo := { | ||
sys.env.get("GITHUB_TOKEN") match { | ||
case Some(token) => s"https://x-access-token:$token@github.com/sbt/sbt-native-packager" | ||
case None => "[email protected]:sbt/sbt-native-packager.git" | ||
} | ||
} | ||
|
||
// scripted test settings | ||
scriptedLaunchOpts += "-Dproject.version=" + version.value | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
object MainApp extends App { | ||
object MainApp extends App { | ||
println(args.mkString("|")) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/sbt-test/ash/command-line-settings/src/main/scala/MainApp.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
object MainApp extends App { | ||
object MainApp extends App { | ||
println(sys.props.collect { case (k, v) => s"$k=$v" } mkString "\n") | ||
println(args.mkString("|")) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.