Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 10 additions & 8 deletions .github/workflows/build-installer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: Build ZXBInstaller

on:
push:

workflow_dispatch:

jobs:
build:
Expand Down Expand Up @@ -30,34 +32,34 @@ jobs:

- name: Publish for Linux
run: |
dotnet publish ZXBStudio/ZXBasicStudio.csproj -c Release -r linux-x64 --self-contained true -p:PublishSingleFile=true -o out
dotnet publish ZXBSInstaller/ZXBSInstaller.csproj -c Release -r linux-x64 --self-contained true -p:PublishSingleFile=true -o out

- name: Publish for Windows
run: |
dotnet publish ZXBStudio/ZXBasicStudio.csproj -c Release -r win-x64 --self-contained true -p:PublishSingleFile=true -o out-win
dotnet publish ZXBSInstaller/ZXBSInstaller.csproj -c Release -r win-x64 --self-contained true -p:PublishSingleFile=true -o out-win

- name: Publish for Mac
run: |
dotnet publish ZXBStudio/ZXBasicStudio.csproj -c Release -r osx-x64 --self-contained true -p:PublishSingleFile=true -o out-mac-x64
dotnet publish ZXBStudio/ZXBasicStudio.csproj -c Release -r osx-arm64 --self-contained true -p:PublishSingleFile=true -o out-mac-arm64
dotnet publish ZXBSInstaller/ZXBSInstaller.csproj -c Release -r osx-x64 --self-contained true -p:PublishSingleFile=true -o out-mac-x64
dotnet publish ZXBSInstaller/ZXBSInstaller.csproj -c Release -r osx-arm64 --self-contained true -p:PublishSingleFile=true -o out-mac-arm64

- uses: actions/upload-artifact@v4
with:
name: ZXBasicStudio-linux-x64
name: ZXBSInstaller-linux-x64
path: ~/work/ZXBasicStudio/ZXBasicStudio/out/

- uses: actions/upload-artifact@v4
with:
name: ZXBasicStudio-win-x64
name: ZXBSInstaller-win-x64
path: ~/work/ZXBasicStudio/ZXBasicStudio/out-win/

- uses: actions/upload-artifact@v4
with:
name: ZXBasicStudio-osx-x64
name: ZXBSInstaller-osx-x64
path: ~/work/ZXBasicStudio/ZXBasicStudio/out-mac-x64/

- uses: actions/upload-artifact@v4
with:
name: ZXBasicStudio-osx-arm64
name: ZXBSInstaller-osx-arm64
path: ~/work/ZXBasicStudio/ZXBasicStudio/out-mac-arm64/

28 changes: 15 additions & 13 deletions .github/workflows/build-zxbstudio.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name: Build ZXBStudio
name: Build ZXB Studio

on:
push:

workflow_dispatch:

jobs:
build:
Expand Down Expand Up @@ -30,34 +32,34 @@ jobs:

- name: Publish for Linux
run: |
dotnet publish ZXBSInstaller/ZXBSInstaller.csproj -c Release -r linux-x64 --self-contained true -p:PublishSingleFile=true -o out
dotnet publish ZXBStudio/ZXBasicStudio.csproj -c Release -r linux-x64 --self-contained true -p:PublishSingleFile=true -o out

- name: Publish for Windows
run: |
dotnet publish ZXBSInstaller/ZXBSInstaller.csproj -c Release -r win-x64 --self-contained true -p:PublishSingleFile=true -o out-win
dotnet publish ZXBStudio/ZXBasicStudio.csproj -c Release -r win-x64 --self-contained true -p:PublishSingleFile=true -o out-win

- name: Publish for Mac
run: |
dotnet publish ZXBSInstaller/ZXBSInstaller.csproj -c Release -r osx-x64 --self-contained true -p:PublishSingleFile=true -o out-mac-x64
dotnet publish ZXBSInstaller/ZXBSInstaller.csproj -c Release -r osx-arm64 --self-contained true -p:PublishSingleFile=true -o out-mac-arm64
dotnet publish ZXBStudio/ZXBasicStudio.csproj -c Release -r osx-x64 --self-contained true -p:PublishSingleFile=true -o out-mac-x64
dotnet publish ZXBStudio/ZXBasicStudio.csproj -c Release -r osx-arm64 --self-contained true -p:PublishSingleFile=true -o out-mac-arm64

- uses: actions/upload-artifact@v4
with:
name: ZXBSInstaller-linux-x64
path: ~/work/ZXBSInstaller/ZXBSInstaller/out/
name: ZXBasicStudio-linux-x64
path: ~/work/ZXBasicStudio/ZXBasicStudio/out/

- uses: actions/upload-artifact@v4
with:
name: ZXBSInstaller-win-x64
path: ~/work/ZXBSInstaller/ZXBSInstaller/out-win/
name: ZXBasicStudio-win-x64
path: ~/work/ZXBasicStudio/ZXBasicStudio/out-win/

- uses: actions/upload-artifact@v4
with:
name: ZXBSInstaller-osx-x64
path: ~/work/ZXBSInstaller/ZXBSInstaller/out-mac-x64/
name: ZXBasicStudio-osx-x64
path: ~/work/ZXBasicStudio/ZXBasicStudio/out-mac-x64/

- uses: actions/upload-artifact@v4
with:
name: ZXBSInstaller-osx-arm64
path: ~/work/ZXBSInstaller/ZXBSInstaller/out-mac-arm64/
name: ZXBasicStudio-osx-arm64
path: ~/work/ZXBasicStudio/ZXBasicStudio/out-mac-arm64/