Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
undeadfox authored Jan 18, 2025
1 parent 609b537 commit 4cf6f3e
Showing 1 changed file with 0 additions and 68 deletions.
68 changes: 0 additions & 68 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,43 +3,6 @@ name: Build
on: push

jobs:
build-windows-msi:
name: Windows Build (MSI)
runs-on: windows-latest
steps:
- name: Install Qt
uses: jurplel/install-qt-action@v3
with:
version: 5.15.2
arch: win32_msvc2019
cache: true
- name: Checkout Repo
uses: actions/checkout@v4
- name: Download Tools
run: python scripts\download.py
- name: Download OpenSSL
run: choco install -y openssl.light --version=1.1.1.20181020 --x86 --params "/InstallDir:C:\OpenSSL"
- name: Build MSI Package
id: build
shell: cmd
run: |
set QTDIR=%Qt5_DIR%
set OPENSSL=C:\OpenSSL
set PATH=%PATH%;C:\Program Files (x86)\WiX Toolset v3.11\bin
call scripts\windows\packages\msi\build.msi.bat || exit
set /p VERSION=<VERSION
echo VERSION=%VERSION%>>%GITHUB_ENV%
- name: Upload Assets
uses: ncipollo/release-action@v1
with:
artifacts: apk-editor-studio_windows_${{ env.VERSION }}.msi
artifactErrorsFailBuild: true
allowUpdates: true
omitName: true
omitBody: true
prerelease: true
tag: development
token: ${{ secrets.GITHUB_TOKEN }}
build-windows-zip:
name: Windows Build (ZIP)
runs-on: windows-latest
Expand Down Expand Up @@ -106,34 +69,3 @@ jobs:
prerelease: true
tag: development
token: ${{ secrets.GITHUB_TOKEN }}
build-macos:
name: macOS Build (APP, DMG)
runs-on: macos-13
steps:
- name: Install Qt
uses: jurplel/install-qt-action@v3
with:
version: 5.15.2
cache: true
- name: Checkout Repo
uses: actions/checkout@v4
- name: Download Tools
run: python3 scripts/download.py
- name: Build APP/DMG Package
id: build
run: |
scripts/macos/packages/app/build.app.command
npm i appdmg
scripts/macos/packages/dmg/build.dmg.command
echo "VERSION=$(cat VERSION)" >> $GITHUB_ENV
- name: Upload Assets
uses: ncipollo/release-action@v1
with:
artifacts: scripts/macos/packages/app/apk-editor-studio_macos_${{ env.VERSION }}.app.zip,scripts/macos/packages/dmg/apk-editor-studio_macos_${{ env.VERSION }}.dmg
artifactErrorsFailBuild: true
allowUpdates: true
omitName: true
omitBody: true
prerelease: true
tag: development
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 4cf6f3e

Please sign in to comment.