File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments