Skip to content

Commit ae18da6

Browse files
authored
ci: fix ivy install (#379)
Closes #353
1 parent a4c44a2 commit ae18da6

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.github/workflows/snapshot-publish.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,12 @@ jobs:
2424

2525
- name: Install Apache Ivy
2626
if: ${{ matrix.os == 'ubuntu-latest' }}
27-
run: curl https://archive.apache.org/dist/ant/ivy/2.5.0/apache-ivy-2.5.0-bin.tar.gz | tar xOz apache-ivy-2.5.0/ivy-2.5.0.jar > /usr/share/ant/lib/ivy.jar
27+
run: sudo apt install ivy
2828

2929
- name: Install Apache Ivy
3030
if: ${{ matrix.os == 'windows-latest' }}
31-
run: choco install ivy
31+
shell: bash
32+
run: curl https://downloads.apache.org/ant/ivy/2.5.1/apache-ivy-2.5.1-bin.tar.gz | tar xOz apache-ivy-2.5.1/ivy-2.5.1.jar > "$ANT_HOME/lib/ivy.jar"
3233

3334
- name: Install Apache Ivy
3435
if: ${{ matrix.os == 'macos-latest' }}

.github/workflows/snapshot-verify.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,12 @@ jobs:
5353

5454
- name: Install Apache Ivy
5555
if: ${{ matrix.os == 'ubuntu-latest' }}
56-
run: curl https://archive.apache.org/dist/ant/ivy/2.5.0/apache-ivy-2.5.0-bin.tar.gz | tar xOz apache-ivy-2.5.0/ivy-2.5.0.jar > /usr/share/ant/lib/ivy.jar
56+
run: curl https://downloads.apache.org/ant/ivy/2.5.1/apache-ivy-2.5.1-bin.tar.gz | tar xOz apache-ivy-2.5.1/ivy-2.5.1.jar > /usr/share/ant/lib/ivy.jar
5757

5858
- name: Install Apache Ivy
5959
if: ${{ matrix.os == 'windows-latest' }}
60-
run: choco install ivy
60+
shell: bash
61+
run: curl https://downloads.apache.org/ant/ivy/2.5.1/apache-ivy-2.5.1-bin.tar.gz | tar xOz apache-ivy-2.5.1/ivy-2.5.1.jar > "$ANT_HOME/lib/ivy.jar"
6162

6263
- name: Install Apache Ivy
6364
if: ${{ matrix.os == 'macos-latest' }}
@@ -67,7 +68,7 @@ jobs:
6768
run: mkdir ${{ github.workspace }}/output
6869

6970
- name: LinuxDetection warning
70-
if: >-
71+
if: >-
7172
${{
7273
matrix.os == 'macos-latest' ||
7374
matrix.os == 'windows-latest'

0 commit comments

Comments
 (0)