From 2e22bb14dfe88ab002deab1c454a64ec2a84514a Mon Sep 17 00:00:00 2001 From: Dilum Aluthge Date: Sat, 1 May 2021 08:35:01 -0400 Subject: [PATCH 1/6] Delete `/opt` before installing Julia (not after) --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d7eaea17..0b4e605b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,14 +40,14 @@ jobs: julia-version: "1.6" steps: + - name: Delete /opt + run: sudo rm -rf /opt - uses: actions/checkout@v2 - uses: julia-actions/setup-julia@v1 with: version: ${{ matrix.julia-version }} arch: x64 - uses: julia-actions/julia-buildpkg@latest - - name: Clean up - run: sudo rm -rf /opt - name: System info run: julia --project=. --color=yes -e "using BinaryBuilderBase; BinaryBuilderBase.versioninfo()" - uses: julia-actions/julia-runtest@latest From 9fafcf202dec40e0c3e38441d6caca92e3ba0ce2 Mon Sep 17 00:00:00 2001 From: Dilum Aluthge Date: Sat, 1 May 2021 08:38:37 -0400 Subject: [PATCH 2/6] Update ci.yml --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0b4e605b..e3d91d88 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,6 +42,8 @@ jobs: steps: - name: Delete /opt run: sudo rm -rf /opt + - name: Create /opt + run: sudo mkdir /opt - uses: actions/checkout@v2 - uses: julia-actions/setup-julia@v1 with: From 29bfde85d2211d52743d7a74a91f8015e980c68b Mon Sep 17 00:00:00 2001 From: Dilum Aluthge Date: Sat, 1 May 2021 08:41:20 -0400 Subject: [PATCH 3/6] Update ci.yml --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e3d91d88..ad736b4a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,7 +43,9 @@ jobs: - name: Delete /opt run: sudo rm -rf /opt - name: Create /opt - run: sudo mkdir /opt + run: sudo mkdir /opt + - name: Create /opt/hostedtoolcache + run: sudo mkdir /opt/hostedtoolcache - uses: actions/checkout@v2 - uses: julia-actions/setup-julia@v1 with: From 2b81985d07023fcbe62dda7ca13bc5c56a31914e Mon Sep 17 00:00:00 2001 From: Dilum Aluthge Date: Sat, 1 May 2021 08:43:50 -0400 Subject: [PATCH 4/6] Update ci.yml --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ad736b4a..8568e9a2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,6 +40,8 @@ jobs: julia-version: "1.6" steps: + - run: ls -lad /opt + - run: ls -lad /opt/hostedtoolcache - name: Delete /opt run: sudo rm -rf /opt - name: Create /opt From bd23604479640a7f7e241475bca91f2bd1e0fb3d Mon Sep 17 00:00:00 2001 From: Dilum Aluthge Date: Sat, 1 May 2021 08:46:43 -0400 Subject: [PATCH 5/6] Update ci.yml --- .github/workflows/ci.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8568e9a2..c2897bac 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,11 +43,7 @@ jobs: - run: ls -lad /opt - run: ls -lad /opt/hostedtoolcache - name: Delete /opt - run: sudo rm -rf /opt - - name: Create /opt - run: sudo mkdir /opt - - name: Create /opt/hostedtoolcache - run: sudo mkdir /opt/hostedtoolcache + run: sudo rm -rf /opt/* - uses: actions/checkout@v2 - uses: julia-actions/setup-julia@v1 with: From ec397ad72cb13d100858986ecd71d2f67a6be6b2 Mon Sep 17 00:00:00 2001 From: Dilum Aluthge Date: Sat, 1 May 2021 08:48:46 -0400 Subject: [PATCH 6/6] Update ci.yml --- .github/workflows/ci.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c2897bac..7538e92e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,10 +40,7 @@ jobs: julia-version: "1.6" steps: - - run: ls -lad /opt - - run: ls -lad /opt/hostedtoolcache - - name: Delete /opt - run: sudo rm -rf /opt/* + - run: sudo rm -rf /opt/* - uses: actions/checkout@v2 - uses: julia-actions/setup-julia@v1 with: