Skip to content

Commit

Permalink
fix(build-dependants) fix build dependants workflow (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
SvitlanaKovalova1 authored Nov 29, 2024
1 parent 59b2ce0 commit c9a2640
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 4 deletions.
32 changes: 28 additions & 4 deletions .github/workflows/build-dependants.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
with:
distribution: 'temurin'
java-version: '17'
- uses: actions/cache@v2
- uses: actions/cache@v4
with:
path: |
~/.m2
Expand All @@ -35,7 +35,7 @@ jobs:
- uses: actions/upload-artifact@v4
with:
name: mod-record-specifications
path: ~/.m2/repository/org/folio/mod-record-specifications
path: ~/.m2/repository/org/folio
if-no-files-found: error
retention-days: 1
mod-quick-marc:
Expand All @@ -50,7 +50,7 @@ jobs:
distribution: 'temurin'
java-version: '17'
- run: git clone --depth 1 --recurse-submodules https://github.com/folio-org/mod-quick-marc
- uses: actions/cache@v2
- uses: actions/cache@v4
with:
path: |
~/.m2
Expand All @@ -60,5 +60,29 @@ jobs:
- uses: actions/download-artifact@v4
with:
name: mod-record-specifications
path: ~/.m2/repository/org/folio/mod-record-specifications
path: ~/.m2/repository/org/folio
- run: cd mod-quick-marc; mvn -B clean verify
mod-entities-links:
needs: mod-record-specifications
runs-on: ubuntu-latest
strategy:
fail-fast: false
timeout-minutes: 20
steps:
- uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '17'
- run: git clone --depth 1 --recurse-submodules https://github.com/folio-org/mod-entities-links
- uses: actions/cache@v4
with:
path: |
~/.m2
!~/.m2/repository/org/folio/mod-record-specifications
key: mod-entities-links-${{ hashFiles('**/pom.xml') }}
restore-keys: mod-entities-links-
- uses: actions/download-artifact@v4
with:
name: mod-record-specifications
path: ~/.m2/repository/org/folio
- run: cd mod-entities-links; mvn -B clean verify
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
### Bug fixes
* Fix tenant upgrade not being ran on schema existence ([MRSPECS-71](https://folio-org.atlassian.net/browse/MRSPECS-71))
* Fix cache not being updated by dependant modules on specification update ([MRSPECS-76](https://folio-org.atlassian.net/browse/MRSPECS-76))
* Fix build dependants workflow ([MRSPECS-68](https://folio-org.atlassian.net/browse/MRSPECS-68))

### Tech Dept
* Description ([ISSUE](https://folio-org.atlassian.net/browse/ISSUE))
Expand Down

0 comments on commit c9a2640

Please sign in to comment.