cxong / cdogs-sdl

Classic overhead run-and-gun game
https://cxong.github.io/cdogs-sdl/
GNU General Public License v2.0
868 stars 115 forks source link

Fix github windows package build #763

Closed cxong closed 4 months ago

cxong commented 1 year ago
Run make package
  make package
  shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '{0}'"
  env:
    VERSION: 1.4.[2](https://github.com/cxong/cdogs-sdl/actions/runs/4947636456/jobs/8847285398#step:16:2)
    CTEST_EXT_COLOR_OUTPUT: true
    CTEST_OUTPUT_ON_FAILURE: 1
    CTEST_BUILD_FLAGS: -j4
    BUILD_TYPE: Release
    SDL_AUDIODRIVER: dummy
    SDL_VIDEODRIVER: dummy
mingw[3](https://github.com/cxong/cdogs-sdl/actions/runs/4947636456/jobs/8847285398#step:16:3)2-make: *** No rule to make target 'package'.  Stop.

Need to use cmake instead of make in workflow step

cxong commented 11 months ago
Run softprops/action-gh-release@v1
  with:
    files: D:\a\cdogs-sdl\cdogs-sdl/C-Dogs*SDL-*-*.*
    fail_on_unmatched_files: true
    token: ***
  env:
    VERSION: 1.5.0
    CTEST_EXT_COLOR_OUTPUT: true
    CTEST_OUTPUT_ON_FAILURE: 1
    CTEST_BUILD_FLAGS: -j[4](https://github.com/cxong/cdogs-sdl/actions/runs/5691394308/job/15426492587#step:17:4)
    BUILD_TYPE: Release
    SDL_AUDIODRIVER: dummy
    SDL_VIDEODRIVER: dummy
    GITHUB_TOKEN: ***
🤔 Pattern 'D:\a\cdogs-sdl\cdogs-sdl/C-Dogs*SDL-*-*.*' does not match any files.
Error: ⚠️ There were unmatched files