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 dd9bb4c
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: mvn org.apache.maven.plugins:maven-dependency-plugin:2.1:get -Dartifact=io.takari.polyglot:polyglot-ruby:0.4.11-SNAPSHOT:get -DremoteRepositories=https://repo.maven.apache.org/maven2,https://oss.sonatype.org/content/repositories/snapshots
- name: bootstrap
run: mvn -Pbootstrap clean package
- name: bundle install
Expand Down

0 comments on commit dd9bb4c

Please sign in to comment.