Skip to content

Commit

Permalink
Build unxip before trying to download Xcode
Browse files Browse the repository at this point in the history
  • Loading branch information
saagarjha committed Nov 22, 2023
1 parent b808bb0 commit 3169e60
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ jobs:
if: ${{ !startsWith( matrix.os, 'macos' ) }}
run: eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" && brew install swift

- name: Build unxip
run: swift build --configuration release

- name: Download Xcode
run: wget http://server.saagarjha.com/Xcode_15_beta.xip.encrypted

Expand All @@ -42,9 +45,6 @@ jobs:
ENCRYPTION_KEY: ${{ secrets.ENCRYPTION_KEY }}
run: openssl enc -aes-256-cbc -d -pass 'env:ENCRYPTION_KEY' -in Xcode_15_beta.xip.encrypted > Xcode_15_beta.xip

- name: Build unxip
run: swift build --configuration release

- name: Run unxip
run: .build/release/unxip -s Xcode_15_beta.xip /tmp | grep -q 'Created 74201 files, 19130 directories, 7699 symlinks, and 16601 hardlinks'

Expand Down

0 comments on commit 3169e60

Please sign in to comment.