Skip to content

Commit 6f16ea0

Browse files
committed
fix build file creation
1 parent 10aa767 commit 6f16ea0

2 files changed

Lines changed: 11 additions & 8 deletions

File tree

.github/workflows/build-executable.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949

5050
- name: Zip OneDir folder (Windows)
5151
if: matrix.os == 'windows-latest'
52-
run: Compress-Archive -Path "dist/hserver" -DestinationPath "dist/${{ matrix.zip_name }}"
52+
run: Compress-Archive -Path "dist/hserver" -DestinationPath "${{ matrix.zip_name }}"
5353
shell: pwsh
5454

5555
- name: Zip OneDir folder (Linux/macOS)
@@ -61,7 +61,7 @@ jobs:
6161
uses: actions/upload-artifact@v4
6262
with:
6363
name: ${{ matrix.artifact_name }}
64-
path: dist/${{ matrix.zip_name }}
64+
path: ${{ matrix.zip_name }}
6565

6666
release:
6767
needs: build
@@ -72,28 +72,28 @@ jobs:
7272
uses: actions/download-artifact@v4
7373
with:
7474
name: hserver_windows
75-
path: dist/
75+
path: ./
7676

7777
- name: Download Linux artifact
7878
uses: actions/download-artifact@v4
7979
with:
8080
name: hserver_linux
81-
path: dist/
81+
path: ./
8282

8383
- name: Download macOS artifact
8484
uses: actions/download-artifact@v4
8585
with:
8686
name: hserver_macos
87-
path: dist/
87+
path: ./
8888

8989
- name: Create Release and Upload Artifacts
9090
if: startsWith(github.ref, 'refs/tags/v')
9191
uses: softprops/action-gh-release@v2
9292
with:
9393
files: |
94-
dist/hserver_windows.zip
95-
dist/hserver_linux.zip
96-
dist/hserver_macos.zip
94+
hserver_windows.zip
95+
hserver_linux.zip
96+
hserver_macos.zip
9797
draft: false
9898
prerelease: false
9999
name: Release ${{ github.ref_name }}

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,6 @@ venv
1616
/update.sh
1717
data
1818
/src/heresphere_server.egg-info/
19+
hserver_windows.zip
20+
hserver_linux.zip
21+
hserver_macos.zip

0 commit comments

Comments
 (0)