From dd9bb4c6aebbe3f2a33b4bdb5563b0d592667657 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..46004358ebdd 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: 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