Skip to content

Commit

Permalink
Download 7-zip early
Browse files Browse the repository at this point in the history
This is so if this external dependency fails, we don't end up
wasting an hour on the default github runner
  • Loading branch information
Kaurin authored Dec 24, 2023
1 parent 115a468 commit 5f1ac83
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/reusable_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,13 @@ jobs:
- name: Install nsis, wget and unzip
run: sudo apt install -y nsis wget unzip p7zip-full git

- name: Download 7-zip
run: |
wget https://www.7-zip.org/a/7z2201-extra.7z
mkdir Staging
cd Staging
7z x ../7z2201-extra.7z
- name: Checkout
uses: actions/checkout@v4

Expand Down Expand Up @@ -100,12 +107,6 @@ jobs:
path: |
Staging/Checksums/*.sha256sum
- name: Download 7-zip
run: |
wget https://www.7-zip.org/a/7z2201-extra.7z
cd Staging
7z x ../7z2201-extra.7z
- name: Package to Exe installer (release)
if: ${{ inputs.runner != 'self-hosted' }}
run: |
Expand Down

0 comments on commit 5f1ac83

Please sign in to comment.