mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-06 04:42:28 +00:00
Some build changes, may or may not fix cache
This commit is contained in:
parent
f72bbab0e9
commit
4abd9c1b40
17
.github/workflows/build.yaml
vendored
17
.github/workflows/build.yaml
vendored
@ -5,11 +5,13 @@ on:
|
|||||||
- master
|
- master
|
||||||
- develop
|
- develop
|
||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
linux:
|
linux:
|
||||||
name: Linux
|
name: Linux
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
env:
|
||||||
|
VCPKG_DOWNLOADS: ${{ github.workspace }}/submodules/vcpkg/downloads
|
||||||
|
VCPKG_BINARY_SOURCES: 'clear;files,${{ github.workspace }}/vcpkg_archives,readwrite'
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout source
|
- name: Checkout source
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v5
|
||||||
@ -30,11 +32,10 @@ jobs:
|
|||||||
uses: actions/cache@v5
|
uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
vcpkg_installed
|
${{ env.VCPKG_DOWNLOADS }}
|
||||||
submodules/vcpkg/downloads
|
${{ github.workspace }}/vcpkg_archives
|
||||||
key: ${{ runner.os }}-vcpkg-${{ hashFiles('vcpkg.json') }}
|
key: ${{ runner.os }}-vcpkg-${{ hashFiles('vcpkg.json') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-vcpkg-${{ hashFiles('vcpkg.json') }}-
|
|
||||||
${{ runner.os }}-vcpkg-
|
${{ runner.os }}-vcpkg-
|
||||||
|
|
||||||
- name: Configure
|
- name: Configure
|
||||||
@ -59,6 +60,9 @@ jobs:
|
|||||||
windows:
|
windows:
|
||||||
name: Windows
|
name: Windows
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
|
env:
|
||||||
|
VCPKG_DOWNLOADS: ${{ github.workspace }}\submodules\vcpkg\downloads
|
||||||
|
VCPKG_BINARY_SOURCES: 'clear;files,${{ github.workspace }}\vcpkg_archives,readwrite'
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout source
|
- name: Checkout source
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v5
|
||||||
@ -77,11 +81,10 @@ jobs:
|
|||||||
uses: actions/cache@v5
|
uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
vcpkg_installed
|
${{ env.VCPKG_DOWNLOADS }}
|
||||||
submodules/vcpkg/downloads
|
${{ github.workspace }}/vcpkg_archives
|
||||||
key: ${{ runner.os }}-vcpkg-${{ hashFiles('vcpkg.json') }}
|
key: ${{ runner.os }}-vcpkg-${{ hashFiles('vcpkg.json') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-vcpkg-${{ hashFiles('vcpkg.json') }}-
|
|
||||||
${{ runner.os }}-vcpkg-
|
${{ runner.os }}-vcpkg-
|
||||||
|
|
||||||
- name: Configure
|
- name: Configure
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user