Skip to content

Commit

Permalink
Pre-fetch polyglot snapshot
Browse files Browse the repository at this point in the history
There's no way to configure extensions.xml to use a snapshot repo,
other than the global settings.xml, so we prefetch it manually.
  • Loading branch information
headius committed Aug 4, 2023
1 parent bb778b4 commit 77375c5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ jobs:
distribution: 'zulu'
java-version: ${{ matrix.java-version }}
cache: 'maven'
- name: prefetch-polyglot
run: "cd .. ; mvn dependency:get -Dartifact=io.takari.polyglot:polyglot-ruby:0.4.11-SNAPSHOT:get -DremoteRepositories=central::default::https://repo.maven.apache.org/maven2,snapshots::::https://oss.sonatype.org/content/repositories/snapshots"
- name: bootstrap
run: mvn -Pbootstrap clean package
- name: bundle install
Expand Down

0 comments on commit 77375c5

Please sign in to comment.