Skip to content

Commit

Permalink
Merge pull request #3 from KG7x/actions
Browse files Browse the repository at this point in the history
Update build.yml
  • Loading branch information
KG7x authored Feb 3, 2024
2 parents 0d4cb74 + e60ee3c commit 9c23bdc
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
make clean ARCH=${{ matrix.arch }}
make ${{ matrix.rule }} -j 8 ARCH=${{ matrix.arch }} CC=${{ matrix.cc }} DESTDIR=bin USE_SDL=0 USE_RENDERER_DLOPEN=0 RENDERER_DEFAULT=opengl
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: matrix.cc == 'gcc' && matrix.btype == 'release'
with:
name: windows-mingw-${{ matrix.arch }}
Expand Down Expand Up @@ -131,7 +131,7 @@ jobs:
msbuild code\win32\msvc2017\renderervk.vcxproj -p:Configuration=${{ matrix.btype }},Platform=${{ matrix.platform }} -t:Clean
msbuild code\win32\msvc2017\quake3e.vcxproj -p:TargetName=quake3e,Configuration=${{ matrix.btype }},Platform=${{ matrix.platform }},UseWasapi=USE_WASAPI=0 -t:Clean
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: ${{ matrix.btype == 'release' }}
with:
name: windows-msvc-${{ matrix.pkg_suffix }}
Expand Down Expand Up @@ -186,7 +186,7 @@ jobs:
make clean ARCH=${{ matrix.arch }}
make ${{ matrix.rule }} -j 8 ARCH=${{ matrix.arch }} CC=${{ matrix.cc }} DESTDIR=bin ${{ matrix.use_sdl }} USE_RENDERER_DLOPEN=0 RENDERER_DEFAULT=opengl
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: matrix.cc == 'gcc' && matrix.btype == 'release'
with:
name: linux-${{ matrix.arch }}
Expand Down Expand Up @@ -234,7 +234,7 @@ jobs:
make clean ARCH=${{ matrix.arch }}
make ${{ matrix.rule }} -j 4 ARCH=${{ matrix.arch }} CC=${{ matrix.cc }} DESTDIR=bin USE_SDL=0 USE_RENDERER_DLOPEN=0 RENDERER_DEFAULT=opengl
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: false
#if: matrix.cc == 'gcc' && matrix.btype == 'Release'
with:
Expand Down Expand Up @@ -275,7 +275,7 @@ jobs:
make clean ARCH=${{ matrix.arch }}
make ${{ matrix.rule }} -j 4 CC=${{ matrix.cc }} DESTDIR=bin INSTALL=ginstall USE_RENDERER_DLOPEN=0 RENDERER_DEFAULT=opengl STRIP=echo
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: matrix.cc == 'clang' && matrix.btype == 'release'
with:
name: macos-${{ matrix.arch }}
Expand All @@ -289,7 +289,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Download Artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4

- name: Create binary archives
run: |
Expand Down Expand Up @@ -357,7 +357,7 @@ jobs:

steps:
- name: Download Artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4

- name: Create archive
run: 7z a -r ${{ matrix.artifact_name }} ./${{ matrix.artifact_dir }}/*
Expand Down

0 comments on commit 9c23bdc

Please sign in to comment.