From 52c4e8806eb8d63ee73ac048228e1ccb62d39e79 Mon Sep 17 00:00:00 2001 From: georgekart <79908923+georgekart@users.noreply.github.com> Date: Mon, 10 Jul 2023 02:14:39 +0400 Subject: [PATCH] Update patch.yml --- .github/workflows/patch.yml | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/.github/workflows/patch.yml b/.github/workflows/patch.yml index e50e366..631f553 100644 --- a/.github/workflows/patch.yml +++ b/.github/workflows/patch.yml @@ -21,10 +21,18 @@ 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/upload-to-github-release@v1.3.12 + 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 @@ -32,10 +40,6 @@ jobs: 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/upload-to-github-release@v1.3.12 @@ -48,3 +52,4 @@ jobs: overwrite: false verbose: true update_latest_release: false + tag_name: "patched"