follow the *correct* documentation for github action conditionals

This commit is contained in:
Neo 2023-07-09 10:30:45 -07:00
parent 84cc74ffbe
commit ac2122ffd4

View File

@ -70,7 +70,7 @@ jobs:
uses: microsoft/setup-msbuild@v1 uses: microsoft/setup-msbuild@v1
- name: Download UMSKT-DJGPP compiled artifact - name: Download UMSKT-DJGPP compiled artifact
if: ${{ matrix.arch == "Win32" }} if: matrix.arch == 'Win32'
uses: actions/download-artifact@v3 uses: actions/download-artifact@v3
with: with:
name: UMSKT-DOS name: UMSKT-DOS
@ -98,14 +98,14 @@ jobs:
path: build/actions_upload path: build/actions_upload
- name: Move Win32+DOS executable to upload directory - name: Move Win32+DOS executable to upload directory
if: ${{ matrix.arch == "Win32" }} if: matrix.arch == 'Win32'
run: | run: |
Remove-Item "build/actions_upload" -Force -Recurse Remove-Item "build/actions_upload" -Force -Recurse
mkdir build/actions_upload mkdir build/actions_upload
Move-Item build/Release/umskt_win32_dos.exe build/actions_upload/umskt.exe Move-Item build/Release/umskt_win32_dos.exe build/actions_upload/umskt.exe
- name: Upload build artifact - name: Upload build artifact
if: ${{ matrix.arch == "Win32" }} if: matrix.arch == 'Win32'
uses: actions/upload-artifact@v3.1.2 uses: actions/upload-artifact@v3.1.2
with: with:
name: UMSKT-Win32+DOS name: UMSKT-Win32+DOS