From 921b293895f8811c2c0a2d12519bbc8bb3ab8baa 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..26b85606dc0c 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 -DrepoUrl=https://oss.sonatype.org/content/repositories/snapshots - name: bootstrap run: mvn -Pbootstrap clean package - name: bundle install