Skip to content

Commit

Permalink
Use 7z in Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Dadoum committed Oct 18, 2023
1 parent 74102e3 commit ba6de9b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand All @@ -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
Expand Down

0 comments on commit ba6de9b

Please sign in to comment.