Skip to content

Commit

Permalink
windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
vs4vijay committed May 30, 2024
1 parent 6d09925 commit ed518c5
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/compile_doom_sdl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
workflow_dispatch:
inputs:
tag_name:
description: 'Release Tag Name'
description: "Release Tag Name"
required: false
default: nightly
push:
Expand All @@ -28,15 +28,16 @@ jobs:
defaults:
run:
shell: msys2 {0}

steps:
- uses: actions/checkout@v4

- if: github.event_name == 'workflow_dispatch'
run: echo "TAG_NAME=${{ github.event.inputs.tag_name }}" >> $GITHUB_ENV

- if: github.event_name == 'schedule'
run: echo 'TAG_NAME=nightly' >> $GITHUB_ENV

- uses: msys2/setup-msys2@v2
with:
msystem: UCRT64
Expand Down Expand Up @@ -70,10 +71,12 @@ jobs:
run: |
make -j2 -f Makefile.sdl
mv doomgeneric.exe M5Doom.exe
- name: Upload Binary
uses: actions/upload-artifact@v4
with:
path:
name: doomgeneric.exe
path: M5Doom.exe
name: M5Doom.exe
compression-level: 0
if-no-files-found: error

0 comments on commit ed518c5

Please sign in to comment.