Skip to content

Commit

Permalink
unifying update jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
robertfmurdock committed Jul 17, 2023
1 parent 978275b commit 8c6591c
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 97 deletions.
39 changes: 0 additions & 39 deletions .github/workflows/all-js-update.yml

This file was deleted.

37 changes: 0 additions & 37 deletions .github/workflows/gradle-plugin-update.yml

This file was deleted.

6 changes: 4 additions & 2 deletions .github/workflows/gradle-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@ jobs:
with:
cache-read-only: true
- name: Update Deps
run: ./gradlew versionCatalogUpdate --no-configuration-cache --scan
run: ./gradlew versionCatalogUpdate --no-configuration-cache
- name: Clean
run: ./gradlew clean
- name: Update Yarn Lock
run: ./gradlew kotlinUpgradeYarnLock --scan
run: ./gradlew kotlinUpgradeYarnLock --no-configuration-cache --no-build-cache
- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@v5
Expand Down
19 changes: 0 additions & 19 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,9 @@ tasks {
)
isIgnoreExitValue = true
}

"versionCatalogUpdate" {
dependsOn("libraries:js-dependencies:ncuUpgrade")
dependsOn(provider { gradle.includedBuilds.map { it.task(":versionCatalogUpdate") } })
}
}

0 comments on commit 8c6591c

Please sign in to comment.