diff --git a/.github/workflows/build-installer.yml b/.github/workflows/build-installer.yml index 457e180..f261889 100644 --- a/.github/workflows/build-installer.yml +++ b/.github/workflows/build-installer.yml @@ -2,6 +2,8 @@ name: Build ZXBInstaller on: push: + + workflow_dispatch: jobs: build: @@ -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/ \ No newline at end of file diff --git a/.github/workflows/build-zxbstudio.yml b/.github/workflows/build-zxbstudio.yml index f2714c4..34ec5d1 100644 --- a/.github/workflows/build-zxbstudio.yml +++ b/.github/workflows/build-zxbstudio.yml @@ -1,7 +1,9 @@ -name: Build ZXBStudio +name: Build ZXB Studio on: push: + + workflow_dispatch: jobs: build: @@ -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/ \ No newline at end of file