Skip to content

Commit dbf4af1

Browse files
authored
Merge pull request #49 from Im-Rises/staging
Staging
2 parents a189fe4 + b648d2b commit dbf4af1

1 file changed

Lines changed: 11 additions & 12 deletions

File tree

.github/workflows/cpp-cmake-publish.yml

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ jobs:
2222
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
2323
- name: Copy exe to root
2424
run: |
25-
cp ./build/ParticleEngine/Release/ParticleEngine.exe .
25+
cp ./build/PhysicalEngine/Release/PhysicalEngine.exe .
2626
- name: Upload artifact release
2727
uses: actions/upload-artifact@v2
2828
with:
2929
name: artifact-windows
3030
path: |
31-
./ParticleEngine.exe
31+
./PhysicalEngine.exe
3232
./imgui.ini
3333
build-ubuntu:
3434
name: Build ubuntu
@@ -38,19 +38,18 @@ jobs:
3838
- name: Install libs
3939
run: |
4040
sudo apt-get install libglfw3-dev
41-
sudo apt install xorg-dev
4241
- name: Configure CMake
4342
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
4443
- name: Build
4544
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
4645
- name: Copy exe to root
47-
run: cp ./build/ParticleEngine/ParticleEngine ./ParticleEngineLauncher
46+
run: cp ./build/PhysicalEngine/PhysicalEngine ./PhysicalEngineLauncher
4847
- name: Upload artifact release
4948
uses: actions/upload-artifact@v2
5049
with:
5150
name: artifact-ubuntu
5251
path: |
53-
./ParticleEngineLauncher
52+
./PhysicalEngineLauncher
5453
./imgui.ini
5554
build-macos:
5655
name: Build macos
@@ -64,13 +63,13 @@ jobs:
6463
- name: Build
6564
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
6665
- name: Copy exe to root
67-
run: cp ./build/ParticleEngine/ParticleEngine ./ParticleEngineLauncher
66+
run: cp ./build/PhysicalEngine/PhysicalEngine ./PhysicalEngineLauncher
6867
- name: Upload artifact release
6968
uses: actions/upload-artifact@v2
7069
with:
7170
name: artifact-macos
7271
path: |
73-
./ParticleEngineLauncher
72+
./PhysicalEngineLauncher
7473
./imgui.ini
7574
release-project:
7675
name: Release project
@@ -102,12 +101,12 @@ jobs:
102101
with:
103102
upload_url: ${{ steps.create-new-release.outputs.upload_url }}
104103
asset_path: release-windows.zip
105-
asset_name: ParticleEngine-windows-v${{ github.run_number }}.zip
104+
asset_name: PhysicalEngine-windows-v${{ github.run_number }}.zip
106105
asset_content_type: application/zip
107106
- name: Delete windows release files
108107
run: |
109108
rm release-windows.zip
110-
rm ParticleEngine.exe
109+
rm PhysicalEngine.exe
111110
- name: Download ubuntu artifact content
112111
uses: actions/download-artifact@v2
113112
with:
@@ -125,12 +124,12 @@ jobs:
125124
with:
126125
upload_url: ${{ steps.create-new-release.outputs.upload_url }}
127126
asset_path: release-linux.tar.gz
128-
asset_name: ParticleEngine-linux-v${{ github.run_number }}.tar.gz
127+
asset_name: PhysicalEngine-linux-v${{ github.run_number }}.tar.gz
129128
asset_content_type: application/zip
130129
- name: Delete ubuntu release files
131130
run: |
132131
rm release-linux.tar.gz
133-
rm ParticleEngineLauncher
132+
rm PhysicalEngineLauncher
134133
- name: Download macos artifact content
135134
uses: actions/download-artifact@v2
136135
with:
@@ -148,5 +147,5 @@ jobs:
148147
with:
149148
upload_url: ${{ steps.create-new-release.outputs.upload_url }}
150149
asset_path: release-macos.tar.gz
151-
asset_name: ParticleEngine-macos-v${{ github.run_number }}.tar.gz
150+
asset_name: PhysicalEngine-macos-v${{ github.run_number }}.tar.gz
152151
asset_content_type: application/zip

0 commit comments

Comments
 (0)