Skip to content

Commit

Permalink
Update patch.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
georgekart authored Jul 9, 2023
1 parent 7aecee5 commit 52c4e88
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/patch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,25 @@ jobs:
pkgutil --expand-full RosettaUpdateAuto.pkg RosettaUpdateAuto.pkg-expanded
cp RosettaUpdateAuto.pkg-expanded/RosettaUpdateAuto.pkg/Payload/Library/Apple/usr/libexec/oah/RosettaLinux/rosetta ./rosetta
- uses: actions/upload-artifact@v3
- name: Upload To Github Release
uses: xresloader/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
name: unpatched
path: rosetta
file: "rosetta"
tags: false
draft: false
overwrite: true
verbose: true
update_latest_release: false
tag_name: "unpatched"


- name: Patch
run: |
dd if=<(printf '\x1f\x20\x03\xd5') of='rosetta' bs=1 seek=170828 conv=notrunc
dd if=<(printf '\x1f\x20\x03\xd5') of='rosetta' bs=1 seek=170856 conv=notrunc
- uses: actions/upload-artifact@v3
with:
name: patched
path: rosetta
- name: Upload To Github Release
uses: xresloader/[email protected]
Expand All @@ -48,3 +52,4 @@ jobs:
overwrite: false
verbose: true
update_latest_release: false
tag_name: "patched"

0 comments on commit 52c4e88

Please sign in to comment.