CI: Upload just as pkg

This commit is contained in:
Mykola Grymalyuk
2022-04-20 11:27:35 -06:00
parent f214e1d89c
commit cf8c8f72a4

View File

@@ -23,7 +23,6 @@ jobs:
- run: cd dist; zip -r ../OpenCore-Patcher-wxPython.app.zip OpenCore-Patcher.app
- run: ./../sign-wxpython.sh
- run: packagesbuild ./payloads/InstallPackage/OCLP-Install-Setup.pkgproj
- run: zip -r ./OCLP-Install.pkg.zip ./dist/OCLP-Install.pkg
- run: mv ./OpenCore-Patcher-wxPython.app.zip ./OpenCore-Patcher-GUI-Offline.app.zip
- name: Upload App to Artifacts
uses: actions/upload-artifact@v2
@@ -34,7 +33,7 @@ jobs:
uses: actions/upload-artifact@v2
with:
name: OCLP-Install.pkg
path: OCLP-Install.pkg.zip
path: ./dist/OCLP-Install.pkg
- name: Upload Binary to Release
if: github.event_name == 'release'
uses: svenstaro/upload-release-action@e74ff71f7d8a4c4745b560a485cc5fdb9b5b999d
@@ -48,6 +47,6 @@ jobs:
uses: svenstaro/upload-release-action@e74ff71f7d8a4c4745b560a485cc5fdb9b5b999d
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: OCLP-Install.pkg.zip
file: ./dist/OCLP-Install.pkg
tag: ${{ github.ref }}
file_glob: true