Skip to content

Commit 8ee505f

Browse files
committed
Fixed wrong folder structure among gamecontrollerdb having a wrong url
1 parent b06c78b commit 8ee505f

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

.github/workflows/main.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,13 @@ jobs:
6161
- name: Create Package
6262
run: |
6363
mkdir ghostship-release
64-
mv build/x64/Release ghostship-release/
64+
mkdir ghostship-release/debug
65+
mv build/x64/Release/Ghostship.exe ghostship-release/
66+
mv build/x64/Release/ghostship.o2r ghostship-release/
67+
mv build/x64/Release/*.pdb ghostship-release/debug/
68+
mv README.md ghostship-release/readme.txt
69+
mv config.yml ghostship-release/
70+
mv assets ghostship-release/
6571
Invoke-WebRequest -Uri "https://raw.githubusercontent.com/mdqinc/SDL_GameControllerDB/master/gamecontrollerdb.txt" -OutFile "ghostship-release/gamecontrollerdb.txt"
6672
- name: Upload build
6773
uses: actions/upload-artifact@v4
@@ -176,7 +182,7 @@ jobs:
176182
cmake -H. -Bbuild-cmake -GNinja -DCMAKE_BUILD_TYPE=Debug
177183
cmake --build build-cmake --config Debug -j3
178184
(cd build-cmake && cpack -G External)
179-
wget -O gamecontrollerdb.txt https://github.com/mdqinc/SDL_GameControllerDB/blob/master/gamecontrollerdb.txt
185+
wget -O gamecontrollerdb.txt https://raw.githubusercontent.com/mdqinc/SDL_GameControllerDB/refs/heads/master/gamecontrollerdb.txt
180186
mv README.md readme.txt
181187
mv build-cmake/*.appimage ghostship.appimage
182188
- name: Upload build
@@ -209,7 +215,7 @@ jobs:
209215
sudo sh /tmp/cmake.sh --prefix=/usr/local/ --exclude-subdir
210216
cmake -H. -Bbuild-switch -GNinja -DCMAKE_TOOLCHAIN_FILE=/opt/devkitpro/cmake/Switch.cmake
211217
cmake --build build-switch --config Release -j3
212-
wget -O gamecontrollerdb.txt https://github.com/mdqinc/SDL_GameControllerDB/blob/master/gamecontrollerdb.txt
218+
wget -O gamecontrollerdb.txt https://raw.githubusercontent.com/mdqinc/SDL_GameControllerDB/refs/heads/master/gamecontrollerdb.txt
213219
mv README.md readme.txt
214220
mv build-switch/*.nro Ghostship.nro
215221
- name: Upload build

0 commit comments

Comments
 (0)