Update build.yml
This commit is contained in:
parent
a4bf85294e
commit
cd6b89a8a0
1 changed files with 25 additions and 4 deletions
27
.github/workflows/build.yml
vendored
27
.github/workflows/build.yml
vendored
|
|
@ -49,12 +49,12 @@ jobs:
|
||||||
- name: echo tag
|
- name: echo tag
|
||||||
run: echo ${{ steps.get-tag.outputs.info }}
|
run: echo ${{ steps.get-tag.outputs.info }}
|
||||||
|
|
||||||
- name: Download raylib Release
|
- name: Download win-x64 Raylib Release
|
||||||
uses: robinraju/release-downloader@v1.2
|
uses: robinraju/release-downloader@v1.3
|
||||||
with:
|
with:
|
||||||
repository: "raysan5/raylib"
|
repository: "raysan5/raylib"
|
||||||
tag: ${{ steps.get-tag.outputs.info }}
|
tag: ${{ steps.get-tag.outputs.info }}
|
||||||
fileName: "*"
|
fileName: "raylib-${{steps.get-tag.outputs.info}}_win64_msvc16.zip"
|
||||||
|
|
||||||
- name: extract win-x64
|
- name: extract win-x64
|
||||||
uses: montudor/action-zip@v1
|
uses: montudor/action-zip@v1
|
||||||
|
|
@ -67,6 +67,13 @@ jobs:
|
||||||
source: "raylib-win64/raylib-${{steps.get-tag.outputs.info}}_win64_msvc16/lib/raylib.dll"
|
source: "raylib-win64/raylib-${{steps.get-tag.outputs.info}}_win64_msvc16/lib/raylib.dll"
|
||||||
target: "Raylib-cs/runtimes/win-x64/native/raylib.dll"
|
target: "Raylib-cs/runtimes/win-x64/native/raylib.dll"
|
||||||
|
|
||||||
|
- name: Download win-x86 Raylib Release
|
||||||
|
uses: robinraju/release-downloader@v1.3
|
||||||
|
with:
|
||||||
|
repository: "raysan5/raylib"
|
||||||
|
tag: ${{ steps.get-tag.outputs.info }}
|
||||||
|
fileName: "raylib-${{steps.get-tag.outputs.info}}_win32_msvc16.zip"
|
||||||
|
|
||||||
- name: extract win-x86
|
- name: extract win-x86
|
||||||
uses: montudor/action-zip@v1
|
uses: montudor/action-zip@v1
|
||||||
with:
|
with:
|
||||||
|
|
@ -78,6 +85,13 @@ jobs:
|
||||||
source: "raylib-win86/raylib-${{steps.get-tag.outputs.info}}_win32_msvc16/lib/raylib.dll"
|
source: "raylib-win86/raylib-${{steps.get-tag.outputs.info}}_win32_msvc16/lib/raylib.dll"
|
||||||
target: "Raylib-cs/runtimes/win-x86/native/raylib.dll"
|
target: "Raylib-cs/runtimes/win-x86/native/raylib.dll"
|
||||||
|
|
||||||
|
- name: Download linux-x64 Raylib Release
|
||||||
|
uses: robinraju/release-downloader@v1.3
|
||||||
|
with:
|
||||||
|
repository: "raysan5/raylib"
|
||||||
|
tag: ${{ steps.get-tag.outputs.info }}
|
||||||
|
fileName: "raylib-${{steps.get-tag.outputs.info}}_linux_amd64.tar.gz"
|
||||||
|
|
||||||
- name: extract linux-x64
|
- name: extract linux-x64
|
||||||
run: mkdir -p raylib-linux64 && tar -xvf raylib-${{steps.get-tag.outputs.info}}_linux_amd64.tar.gz -C raylib-linux64
|
run: mkdir -p raylib-linux64 && tar -xvf raylib-${{steps.get-tag.outputs.info}}_linux_amd64.tar.gz -C raylib-linux64
|
||||||
|
|
||||||
|
|
@ -87,6 +101,13 @@ jobs:
|
||||||
source: "raylib-linux64/raylib-${{steps.get-tag.outputs.info}}_linux_amd64/lib/libraylib.so.${{steps.get-tag.outputs.info}}"
|
source: "raylib-linux64/raylib-${{steps.get-tag.outputs.info}}_linux_amd64/lib/libraylib.so.${{steps.get-tag.outputs.info}}"
|
||||||
target: "Raylib-cs/runtimes/linux-x64/native/libraylib.so"
|
target: "Raylib-cs/runtimes/linux-x64/native/libraylib.so"
|
||||||
|
|
||||||
|
- name: Download osx-x64 Raylib Release
|
||||||
|
uses: robinraju/release-downloader@v1.3
|
||||||
|
with:
|
||||||
|
repository: "raysan5/raylib"
|
||||||
|
tag: ${{ steps.get-tag.outputs.info }}
|
||||||
|
fileName: "raylib-${{steps.get-tag.outputs.info}}_macos.tar.gz"
|
||||||
|
|
||||||
- name: extract osx-x64
|
- name: extract osx-x64
|
||||||
run: mkdir -p raylib-osx64 && tar -xvf raylib-${{steps.get-tag.outputs.info}}_macos.tar.gz -C raylib-osx64
|
run: mkdir -p raylib-osx64 && tar -xvf raylib-${{steps.get-tag.outputs.info}}_macos.tar.gz -C raylib-osx64
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue