From 77375c5b415fce346e3c6c575292a9629b4efef2 Mon Sep 17 00:00:00 2001 From: Charles Oliver Nutter Date: Fri, 4 Aug 2023 18:06:18 -0500 Subject: [PATCH] Pre-fetch polyglot snapshot There's no way to configure extensions.xml to use a snapshot repo, other than the global settings.xml, so we prefetch it manually. --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cbfb48e2d973..dd3258849874 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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