Skip to content

Commit 92eea0e

Browse files
authored
Update smoke test workflow to install all requirements manually on new vanilla ubuntu image (#1452)
1 parent f2b7121 commit 92eea0e

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

.github/workflows/smoke-test.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,23 @@ jobs:
4141
- name: Checkout Component Detection
4242
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4343

44+
- name: Prepare Dotnet
45+
run: |
46+
# When using a Vanilla Ubuntu image, GH Actions may not have access to the /usr/share/dotnet directory.
47+
sudo mkdir /usr/share/dotnet
48+
sudo chmod 777 /usr/share/dotnet
49+
4450
- name: Setup .NET
4551
uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4.3.1
4652

4753
- name: Install Apache Ivy
48-
run: curl https://downloads.apache.org/ant/ivy/2.5.2/apache-ivy-2.5.2-bin.tar.gz | tar xOz apache-ivy-2.5.2/ivy-2.5.2.jar > /usr/share/ant/lib/ivy.jar
54+
run: |
55+
echo "Starting Apache Ant and Ivy installation..."
56+
sudo apt install -y ant
57+
58+
echo "Ant installed successfully. Installing Ivy plugin..."
59+
sudo chmod 777 /usr/share/ant/lib
60+
curl https://downloads.apache.org/ant/ivy/2.5.2/apache-ivy-2.5.2-bin.tar.gz | tar xOz apache-ivy-2.5.2/ivy-2.5.2.jar > /usr/share/ant/lib/ivy.jar
4961
5062
- name: Checkout Smoke Test Repo
5163
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

0 commit comments

Comments
 (0)