Skip to content

Commit f369ee8

Browse files
committed
Merge branch 'main' of github.com:ObEngine/TiledIntegration
2 parents 26b3d6b + 78d0831 commit f369ee8

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

.github/workflows/artifacts.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,12 @@ jobs:
2020
run: sudo apt-get install -y cmake
2121
- name: Install G++ and build-essential
2222
run: sudo apt-get install -y build-essential g++
23+
- name: Run CMake on TiledIntegration
24+
run: cd build && cmake ..
2325
- name: Compile TiledIntegration
24-
run: cd build; cmake ..; make -j8
26+
run: cmake --build build --config Release -- -j8
2527
- name: Create package
26-
run: cp ./build/Release/tiled_integration release/
28+
run: mkdir release; cp ./build/tiled_integration release/
2729
- name: Package to archive
2830
run: tar -cvf obengine-tiled-integration.tar release/ ; gzip -9 obengine-tiled-integration.tar
2931
- name: Upload Release Asset
@@ -33,7 +35,7 @@ jobs:
3335
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3436
with:
3537
upload_url: ${{ github.event.release.upload_url }}
36-
asset_path: ./obengine-tiled-integration.tar
38+
asset_path: ./obengine-tiled-integration.tar.gz
3739
asset_name: obengine-tiled-integration.linux64.tar.gz
3840
asset_content_type: application/zip
3941

@@ -48,7 +50,7 @@ jobs:
4850
- name: Create build directory
4951
run: mkdir build
5052
- name: Run CMake on TiledIntegration
51-
run: cd build; cmake -G "Visual Studio 16 2019" -A x64 ..
53+
run: cd build; cmake ..
5254
shell: pwsh
5355
- name: Compile TiledIntegration
5456
run: cmake --build build --config Release -- /m:8
@@ -81,9 +83,9 @@ jobs:
8183
- name: Run CMake on TiledIntegration
8284
run: cd build && cmake ..
8385
- name: Compile TiledIntegration
84-
run: cd build && make -j8
86+
run: cmake --build build --config Release -- -j8
8587
- name: Create package
86-
run: cp ./build/Release/tiled_integration release/
88+
run: mkdir release; cp ./build/tiled_integration release/
8789
- name: Package to archive
8890
run: tar -cvf obengine-tiled-integration.tar release/ ; gzip -9 obengine-tiled-integration.tar
8991
- name: Upload Release Asset
@@ -93,6 +95,6 @@ jobs:
9395
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9496
with:
9597
upload_url: ${{ github.event.release.upload_url }}
96-
asset_path: ./obengine-tiled-integration.tar
98+
asset_path: ./obengine-tiled-integration.tar.gz
9799
asset_name: obengine-tiled-integration.macos64.tar.gz
98100
asset_content_type: application/zip

0 commit comments

Comments
 (0)