Skip to content

Commit

Permalink
Update diff.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
blacktop committed Jul 18, 2024
1 parent c2698bf commit fe25542
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions .github/workflows/diff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,31 @@ jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
runs-on: macos-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4

# Runs a diff
- name: Download `ipsw`
run: |
brew install blacktop/tap/ipsw
# Runs a diff
- name: Create report file
run: |
date +%s > report.txt
git add report.txt
ipsw dl appledb --os macOS --version '${{ env.PREV_MACOS_VERSION }}' --device iPhone16,2 --output /tmp/IPSW1
ipsw dl appledb --os macOS --version '${{ env.NEXT_MACOS_VERSION }}' --device iPhone16,2 --output /tmp/IPSW2
ipsw diff --output . \
--markdown \
--fw \
--launchd \
--feat \
--strs \
/tmp/IPSW1/*.ipsw \
/tmp/IPSW2/*.ipsw
- name: Commit report
run: |
Expand Down

0 comments on commit fe25542

Please sign in to comment.