From ba6de9bd0d6a13a3e57fc54dd7f816c7d299b88a Mon Sep 17 00:00:00 2001 From: Dadoum Date: Wed, 18 Oct 2023 21:56:53 +0200 Subject: [PATCH] Use 7z in Actions --- .github/workflows/build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4e19354..14f0561 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -205,6 +205,9 @@ jobs: with: compiler: ldc-1.33.0 + - name: Install dependencies + run: sudo apt-get update && sudo apt-get install -y libz-dev elfutils clang lld 7zip + - name: Set-up Windows cross-compilation run: | mkdir -p $HOME/.ldc/ @@ -226,10 +229,7 @@ jobs: }; EOF curl -LO https://github.com/ldc-developers/ldc/releases/download/v1.33.0/ldc2-1.33.0-windows-x64.7z - tar -xf ./ldc2-1.33.0-windows-x64.tar.xz -C $HOME - - - name: Install dependencies - run: sudo apt-get update && sudo apt-get install -y libz-dev elfutils clang lld + 7z x ./ldc2-1.33.0-windows-x64.7z -o$HOME - name: Write version file run: echo 'module version_string; enum versionStr = "Official build, branch ${{ github.ref_name }}, commit ${{ github.sha }}";' > source/version_string.d