Skip to content

Commit a6f898b

Browse files
authored
Merge pull request #42 from boriel-basic/features/installer
refact: fix switched names
2 parents e15ea99 + 9058e32 commit a6f898b

2 files changed

Lines changed: 25 additions & 21 deletions

File tree

.github/workflows/build-installer.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: Build ZXBInstaller
22

33
on:
44
push:
5+
6+
workflow_dispatch:
57

68
jobs:
79
build:
@@ -30,34 +32,34 @@ jobs:
3032

3133
- name: Publish for Linux
3234
run: |
33-
dotnet publish ZXBStudio/ZXBasicStudio.csproj -c Release -r linux-x64 --self-contained true -p:PublishSingleFile=true -o out
35+
dotnet publish ZXBSInstaller/ZXBSInstaller.csproj -c Release -r linux-x64 --self-contained true -p:PublishSingleFile=true -o out
3436
3537
- name: Publish for Windows
3638
run: |
37-
dotnet publish ZXBStudio/ZXBasicStudio.csproj -c Release -r win-x64 --self-contained true -p:PublishSingleFile=true -o out-win
39+
dotnet publish ZXBSInstaller/ZXBSInstaller.csproj -c Release -r win-x64 --self-contained true -p:PublishSingleFile=true -o out-win
3840
3941
- name: Publish for Mac
4042
run: |
41-
dotnet publish ZXBStudio/ZXBasicStudio.csproj -c Release -r osx-x64 --self-contained true -p:PublishSingleFile=true -o out-mac-x64
42-
dotnet publish ZXBStudio/ZXBasicStudio.csproj -c Release -r osx-arm64 --self-contained true -p:PublishSingleFile=true -o out-mac-arm64
43+
dotnet publish ZXBSInstaller/ZXBSInstaller.csproj -c Release -r osx-x64 --self-contained true -p:PublishSingleFile=true -o out-mac-x64
44+
dotnet publish ZXBSInstaller/ZXBSInstaller.csproj -c Release -r osx-arm64 --self-contained true -p:PublishSingleFile=true -o out-mac-arm64
4345
4446
- uses: actions/upload-artifact@v4
4547
with:
46-
name: ZXBasicStudio-linux-x64
48+
name: ZXBSInstaller-linux-x64
4749
path: ~/work/ZXBasicStudio/ZXBasicStudio/out/
4850

4951
- uses: actions/upload-artifact@v4
5052
with:
51-
name: ZXBasicStudio-win-x64
53+
name: ZXBSInstaller-win-x64
5254
path: ~/work/ZXBasicStudio/ZXBasicStudio/out-win/
5355

5456
- uses: actions/upload-artifact@v4
5557
with:
56-
name: ZXBasicStudio-osx-x64
58+
name: ZXBSInstaller-osx-x64
5759
path: ~/work/ZXBasicStudio/ZXBasicStudio/out-mac-x64/
5860

5961
- uses: actions/upload-artifact@v4
6062
with:
61-
name: ZXBasicStudio-osx-arm64
63+
name: ZXBSInstaller-osx-arm64
6264
path: ~/work/ZXBasicStudio/ZXBasicStudio/out-mac-arm64/
6365

.github/workflows/build-zxbstudio.yml

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
name: Build ZXBStudio
1+
name: Build ZXB Studio
22

33
on:
44
push:
5+
6+
workflow_dispatch:
57

68
jobs:
79
build:
@@ -30,34 +32,34 @@ jobs:
3032

3133
- name: Publish for Linux
3234
run: |
33-
dotnet publish ZXBSInstaller/ZXBSInstaller.csproj -c Release -r linux-x64 --self-contained true -p:PublishSingleFile=true -o out
35+
dotnet publish ZXBStudio/ZXBasicStudio.csproj -c Release -r linux-x64 --self-contained true -p:PublishSingleFile=true -o out
3436
3537
- name: Publish for Windows
3638
run: |
37-
dotnet publish ZXBSInstaller/ZXBSInstaller.csproj -c Release -r win-x64 --self-contained true -p:PublishSingleFile=true -o out-win
39+
dotnet publish ZXBStudio/ZXBasicStudio.csproj -c Release -r win-x64 --self-contained true -p:PublishSingleFile=true -o out-win
3840
3941
- name: Publish for Mac
4042
run: |
41-
dotnet publish ZXBSInstaller/ZXBSInstaller.csproj -c Release -r osx-x64 --self-contained true -p:PublishSingleFile=true -o out-mac-x64
42-
dotnet publish ZXBSInstaller/ZXBSInstaller.csproj -c Release -r osx-arm64 --self-contained true -p:PublishSingleFile=true -o out-mac-arm64
43+
dotnet publish ZXBStudio/ZXBasicStudio.csproj -c Release -r osx-x64 --self-contained true -p:PublishSingleFile=true -o out-mac-x64
44+
dotnet publish ZXBStudio/ZXBasicStudio.csproj -c Release -r osx-arm64 --self-contained true -p:PublishSingleFile=true -o out-mac-arm64
4345
4446
- uses: actions/upload-artifact@v4
4547
with:
46-
name: ZXBSInstaller-linux-x64
47-
path: ~/work/ZXBSInstaller/ZXBSInstaller/out/
48+
name: ZXBasicStudio-linux-x64
49+
path: ~/work/ZXBasicStudio/ZXBasicStudio/out/
4850

4951
- uses: actions/upload-artifact@v4
5052
with:
51-
name: ZXBSInstaller-win-x64
52-
path: ~/work/ZXBSInstaller/ZXBSInstaller/out-win/
53+
name: ZXBasicStudio-win-x64
54+
path: ~/work/ZXBasicStudio/ZXBasicStudio/out-win/
5355

5456
- uses: actions/upload-artifact@v4
5557
with:
56-
name: ZXBSInstaller-osx-x64
57-
path: ~/work/ZXBSInstaller/ZXBSInstaller/out-mac-x64/
58+
name: ZXBasicStudio-osx-x64
59+
path: ~/work/ZXBasicStudio/ZXBasicStudio/out-mac-x64/
5860

5961
- uses: actions/upload-artifact@v4
6062
with:
61-
name: ZXBSInstaller-osx-arm64
62-
path: ~/work/ZXBSInstaller/ZXBSInstaller/out-mac-arm64/
63+
name: ZXBasicStudio-osx-arm64
64+
path: ~/work/ZXBasicStudio/ZXBasicStudio/out-mac-arm64/
6365

0 commit comments

Comments
 (0)