mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-19 22:00:00 +10:00
Merge pull request #987 from dortania/actions-v3
CI: Update to Actions V3
This commit is contained in:
@@ -15,7 +15,7 @@ jobs:
|
|||||||
commiturl: ${{ github.event.head_commit.url }}
|
commiturl: ${{ github.event.head_commit.url }}
|
||||||
commitdate: ${{ github.event.head_commit.timestamp }}
|
commitdate: ${{ github.event.head_commit.timestamp }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- run: python3 create_offline_build.py
|
- run: python3 create_offline_build.py
|
||||||
- run: /Library/Frameworks/Python.framework/Versions/3.9/bin/pyinstaller OpenCore-Patcher-GUI.spec
|
- run: /Library/Frameworks/Python.framework/Versions/3.9/bin/pyinstaller OpenCore-Patcher-GUI.spec
|
||||||
- run: python3 ./payloads/binary.py $branch $commiturl $commitdate
|
- run: python3 ./payloads/binary.py $branch $commiturl $commitdate
|
||||||
@@ -25,12 +25,12 @@ jobs:
|
|||||||
- run: packagesbuild ./payloads/InstallPackage/AutoPkg-Assets-Setup.pkgproj
|
- run: packagesbuild ./payloads/InstallPackage/AutoPkg-Assets-Setup.pkgproj
|
||||||
- run: mv ./OpenCore-Patcher-wxPython.app.zip ./OpenCore-Patcher-GUI.app.zip
|
- run: mv ./OpenCore-Patcher-wxPython.app.zip ./OpenCore-Patcher-GUI.app.zip
|
||||||
- name: Upload App to Artifacts
|
- name: Upload App to Artifacts
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: OpenCore-Patcher.app (GUI)
|
name: OpenCore-Patcher.app (GUI)
|
||||||
path: OpenCore-Patcher-GUI.app.zip
|
path: OpenCore-Patcher-GUI.app.zip
|
||||||
- name: Upload Package to Artifacts
|
- name: Upload Package to Artifacts
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: AutoPkg-Assets.pkg
|
name: AutoPkg-Assets.pkg
|
||||||
path: ./dist/AutoPkg-Assets.pkg
|
path: ./dist/AutoPkg-Assets.pkg
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ jobs:
|
|||||||
commiturl: ${{ github.event.head_commit.url }}
|
commiturl: ${{ github.event.head_commit.url }}
|
||||||
commitdate: ${{ github.event.head_commit.timestamp }}
|
commitdate: ${{ github.event.head_commit.timestamp }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- run: python3 create_offline_build.py
|
- run: python3 create_offline_build.py
|
||||||
- run: /Library/Frameworks/Python.framework/Versions/3.9/bin/pyinstaller OpenCore-Patcher.spec
|
- run: /Library/Frameworks/Python.framework/Versions/3.9/bin/pyinstaller OpenCore-Patcher.spec
|
||||||
- run: python3 ./payloads/binary.py $branch $commiturl $commitdate
|
- run: python3 ./payloads/binary.py $branch $commiturl $commitdate
|
||||||
@@ -24,7 +24,7 @@ jobs:
|
|||||||
- run: cd dist; zip -r ../OpenCore-Patcher-TUI.app.zip OpenCore-Patcher.app
|
- run: cd dist; zip -r ../OpenCore-Patcher-TUI.app.zip OpenCore-Patcher.app
|
||||||
- run: ./../sign-tui.sh
|
- run: ./../sign-tui.sh
|
||||||
- name: Upload App to Artifacts
|
- name: Upload App to Artifacts
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: OpenCore-Patcher-TUI.app
|
name: OpenCore-Patcher-TUI.app
|
||||||
path: OpenCore-Patcher-TUI.app.zip
|
path: OpenCore-Patcher-TUI.app.zip
|
||||||
|
|||||||
@@ -10,11 +10,11 @@ jobs:
|
|||||||
name: Build Site and Deploy
|
name: Build Site and Deploy
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/setup-node@v2-beta
|
- uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: '12'
|
node-version: '12'
|
||||||
- name: Checkout Repository
|
- name: Checkout Repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
fetch-depth: '0'
|
fetch-depth: '0'
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
|
|||||||
Reference in New Issue
Block a user