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 7, 2023
1 parent bb778b4 commit 5bee104
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,12 @@ jobs:
distribution: 'zulu'
java-version: ${{ matrix.java-version }}
cache: 'maven'
- name: prefetch-polyglot
run: "cd .. ; mvn -B dependency:get -Dartifact=io.takari.polyglot:polyglot-ruby:0.4.11-SNAPSHOT -DremoteRepositories=central::default::https://repo.maven.apache.org/maven2,snapshots::::https://oss.sonatype.org/content/repositories/snapshots ; cd -"
- name: bootstrap
run: mvn -Pbootstrap clean package
- name: bundle install
run: bin/jruby --dev -S bundle install
run: bin/jruby -B --dev -S bundle install
- name: Save bootstrap build
id: cache-bootstrap-save
uses: actions/cache/save@v3
Expand Down

0 comments on commit 5bee104

Please sign in to comment.