-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve the GitHub action sbt-dependency-submission
- Loading branch information
1 parent
79ef57e
commit df913be
Showing
2 changed files
with
50 additions
and
4 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 |
---|---|---|
|
@@ -2,16 +2,49 @@ | |
# See https://github.com/marketplace/actions/sbt-dependency-submission | ||
name: Update Dependency Graph | ||
on: | ||
push: | ||
branches: | ||
- master # default branch of the project | ||
# push: | ||
# branches: | ||
# - master # default branch of the project | ||
schedule: | ||
- cron: "0 20 * * *" | ||
workflow_dispatch: | ||
jobs: | ||
dependency-graph: | ||
name: Update Dependency Graph | ||
runs-on: ubuntu-latest # or windows-latest, or macOS-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Setup Java and Scala | ||
uses: olafurpg/setup-scala@v14 | ||
with: | ||
java-version: [email protected] | ||
- name: Setup Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: "18" # or whatever | ||
- name: Setup Scala.JS | ||
uses: japgolly/setup-scalajs@v1 | ||
- name: Cache sbt | ||
uses: coursier/[email protected] | ||
- name: npm install | ||
run: npm install | ||
|
||
- uses: scalacenter/sbt-dependency-submission@v2 | ||
with: | ||
working-directory: ./ | ||
modules-ignore: root fmgp-ipfs-webapp | ||
modules-ignore: | ||
root_3 | ||
all_3 | ||
did-experiments_3 | ||
did-experiments_sjs1_3 | ||
scala-did-docs_3 | ||
did-demo_sjs1_3 | ||
# did-demo_3 | ||
# fmgp-webapp_sjs1_3 | ||
# didexample_3 | ||
# didexample_sjs1_3 | ||
# fmgp-serviceworker_sjs1_3 | ||
configs-ignore: test scala-tool scala-doc-tool | ||
|
||
# githubGenerateSnapshot {"ignoredModules":["root_3", "all_3", "did-experiments_3", "did-experiments_sjs1_3", "scala-did-docs_3", "did-demo_sjs1_3"], "ignoredConfigs":["test", "scala-tool", "scala-doc-tool"]} |
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