mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-03-25 12:21:29 +00:00
ci/cd: Update package versions
This commit is contained in:
parent
daa471e0f8
commit
51d092660b
3 changed files with 22 additions and 7 deletions
15
.github/workflows/macos.yml
vendored
15
.github/workflows/macos.yml
vendored
|
@ -4,6 +4,8 @@ on:
|
|||
push:
|
||||
branches:
|
||||
- 'master'
|
||||
tags:
|
||||
- "*"
|
||||
pull_request:
|
||||
types:
|
||||
- edited
|
||||
|
@ -58,3 +60,16 @@ jobs:
|
|||
name: quake2-macos-${{github.sha}}
|
||||
path: publish/
|
||||
if-no-files-found: error
|
||||
- name: Create tag package
|
||||
if: ${{ startsWith(github.ref, 'refs/tags/') }}
|
||||
run: |
|
||||
# create archive
|
||||
mkdir yquake2remaster-${{matrix.env}}-${{github.ref_name}}
|
||||
cp -rv publish/quake2-macos-${{github.sha}}/* yquake2remaster-${{matrix.env}}-${{github.ref_name}}
|
||||
zip -9r yquake2remaster-${{matrix.env}}-${{github.ref_name}}.zip yquake2remaster-${{matrix.env}}-${{github.ref_name}}
|
||||
- name: Upload Release Asset
|
||||
uses: softprops/action-gh-release@v2
|
||||
if: ${{ startsWith(github.ref, 'refs/tags/') }}
|
||||
with:
|
||||
files: |
|
||||
yquake2remaster-${{matrix.env}}-${{github.ref_name}}.zip
|
||||
|
|
4
.github/workflows/win32.yml
vendored
4
.github/workflows/win32.yml
vendored
|
@ -70,8 +70,8 @@ jobs:
|
|||
cp doc/080_contributing.md publish/quake2-win32-${{github.sha}}/misc/docs/080_contributing.txt
|
||||
cp doc/090_filelists.md publish/quake2-win32-${{github.sha}}/misc/docs/090_filelists.md
|
||||
# SDL2
|
||||
wget -c https://github.com/libsdl-org/SDL/releases/download/release-2.30.6/SDL2-2.30.6-win32-x86.zip
|
||||
unzip -o SDL2-2.30.6-win32-x86.zip
|
||||
wget -c https://github.com/libsdl-org/SDL/releases/download/release-2.30.7/SDL2-2.30.7-win32-x86.zip
|
||||
unzip -o SDL2-2.30.7-win32-x86.zip
|
||||
cp SDL2.dll publish/quake2-win32-${{github.sha}}/
|
||||
# openal-soft
|
||||
wget -c https://github.com/kcat/openal-soft/releases/download/1.23.1/openal-soft-1.23.1-bin.zip
|
||||
|
|
10
.github/workflows/win64.yml
vendored
10
.github/workflows/win64.yml
vendored
|
@ -70,13 +70,13 @@ jobs:
|
|||
cp doc/080_contributing.md publish/quake2-win64-${{github.sha}}/misc/docs/080_contributing.txt
|
||||
cp doc/090_filelists.md publish/quake2-win64-${{github.sha}}/misc/docs/090_filelists.md
|
||||
# SDL2
|
||||
wget -c https://github.com/libsdl-org/SDL/releases/download/release-2.30.6/SDL2-2.30.6-win32-x86.zip
|
||||
unzip -o SDL2-2.30.6-win32-x86.zip
|
||||
wget -c https://github.com/libsdl-org/SDL/releases/download/release-2.30.7/SDL2-2.30.7-win32-x64.zip
|
||||
unzip -o SDL2-2.30.7-win32-x64.zip
|
||||
cp SDL2.dll publish/quake2-win64-${{github.sha}}/
|
||||
# static ffmpeg
|
||||
wget -c https://github.com/BtbN/FFmpeg-Builds/releases/download/autobuild-2023-11-30-12-55/ffmpeg-n6.0.1-win64-lgpl-shared-6.0.zip
|
||||
unzip -o ffmpeg-n6.0.1-win64-lgpl-shared-6.0.zip
|
||||
cp ffmpeg-n6.0.1-win64-lgpl-shared-6.0/bin/*.dll publish/quake2-win64-${{github.sha}}/
|
||||
wget -c https://github.com/BtbN/FFmpeg-Builds/releases/download/autobuild-2024-08-31-12-50/ffmpeg-n7.0.2-6-g7e69129d2f-win64-lgpl-shared-7.0.zip
|
||||
unzip -o ffmpeg-n7.0.2-6-g7e69129d2f-win64-lgpl-shared-7.0.zip
|
||||
cp ffmpeg-n7.0.2-6-g7e69129d2f-win64-lgpl-shared-7.0/bin/*.dll publish/quake2-win64-${{github.sha}}/
|
||||
# remove unused libraries
|
||||
rm -fv publish/quake2-win64-${{github.sha}}/avdevice*.dll publish/quake2-win64-${{github.sha}}/avfilter*.dll publish/quake2-win64-${{github.sha}}/postproc*.dll
|
||||
# openal-soft
|
||||
|
|
Loading…
Reference in a new issue