mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-21 14:40:52 +10:00
Fix CI building
This commit is contained in:
@@ -43,23 +43,3 @@ jobs:
|
|||||||
file: OpenCore-Patcher.app.zip
|
file: OpenCore-Patcher.app.zip
|
||||||
tag: ${{ github.ref }}
|
tag: ${{ github.ref }}
|
||||||
file_glob: true
|
file_glob: true
|
||||||
build:
|
|
||||||
name: Build CLI
|
|
||||||
runs-on: self-hosted
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- run: pyinstaller OCLP-GUI.spec
|
|
||||||
- run: cd dist; zip ../OCLP-GUI.zip OCLP-GUI
|
|
||||||
- name: Upload Binary to Artifacts
|
|
||||||
uses: actions/upload-artifact@v2
|
|
||||||
with:
|
|
||||||
name: OCLP-GUI
|
|
||||||
path: OCLP-GUI.zip
|
|
||||||
- name: Upload to Release
|
|
||||||
if: github.event_name == 'release'
|
|
||||||
uses: svenstaro/upload-release-action@e74ff71f7d8a4c4745b560a485cc5fdb9b5b999d
|
|
||||||
with:
|
|
||||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
file: OCLP-GUI.zip
|
|
||||||
tag: ${{ github.ref }}
|
|
||||||
file_glob: true
|
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
name: CI - Build CLI
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
workflow_dispatch:
|
||||||
|
release:
|
||||||
|
types: [published]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
name: Build CLI
|
||||||
|
runs-on: self-hosted
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- run: pyinstaller OCLP-GUI.spec
|
||||||
|
- run: cd dist; zip ../OCLP-GUI.zip OCLP-GUI
|
||||||
|
- name: Upload Binary to Artifacts
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: OCLP-GUI
|
||||||
|
path: OCLP-GUI.zip
|
||||||
|
- name: Upload to Release
|
||||||
|
if: github.event_name == 'release'
|
||||||
|
uses: svenstaro/upload-release-action@e74ff71f7d8a4c4745b560a485cc5fdb9b5b999d
|
||||||
|
with:
|
||||||
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
file: OCLP-GUI.zip
|
||||||
|
tag: ${{ github.ref }}
|
||||||
|
file_glob: true
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
name: Build/Test/Deploy
|
name: CI - Build Site
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches-ignore:
|
branches-ignore:
|
||||||
Reference in New Issue
Block a user