mirror of
https://github.com/edubart/otclient.git
synced 2025-04-29 17:19:20 +02:00
Update workflow actions (#1197)
* Update workflow actions * Update actions/checkout to v3
This commit is contained in:
parent
725c200c9f
commit
4a39d49fc1
10
.github/workflows/build-vcpkg.yml
vendored
10
.github/workflows/build-vcpkg.yml
vendored
@ -66,7 +66,7 @@ jobs:
|
|||||||
luajit: off
|
luajit: off
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
|
|
||||||
@ -92,7 +92,7 @@ jobs:
|
|||||||
echo "CC=${{ matrix.cc }}" >> $GITHUB_ENV
|
echo "CC=${{ matrix.cc }}" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Run vcpkg
|
- name: Run vcpkg
|
||||||
uses: lukka/run-vcpkg@v7.1
|
uses: lukka/run-vcpkg@v7
|
||||||
with:
|
with:
|
||||||
vcpkgArguments: ${{ matrix.packages }}
|
vcpkgArguments: ${{ matrix.packages }}
|
||||||
vcpkgDirectory: ${{ runner.workspace }}/vcpkg/
|
vcpkgDirectory: ${{ runner.workspace }}/vcpkg/
|
||||||
@ -112,21 +112,21 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Upload artifact binary
|
- name: Upload artifact binary
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: otclient-${{ matrix.name }}-${{ matrix.buildtype }}-luajit=${{ matrix.luajit }}-${{ github.sha }}
|
name: otclient-${{ matrix.name }}-${{ matrix.buildtype }}-luajit=${{ matrix.luajit }}-${{ github.sha }}
|
||||||
path: ${{ runner.workspace }}/build/otclient
|
path: ${{ runner.workspace }}/build/otclient
|
||||||
if: "! contains( matrix.os, 'windows')"
|
if: "! contains( matrix.os, 'windows')"
|
||||||
|
|
||||||
- name: Upload artifact binary (exe)
|
- name: Upload artifact binary (exe)
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: otclient-${{ matrix.name }}-${{ matrix.buildtype }}-luajit=${{ matrix.luajit }}-${{ github.sha }}
|
name: otclient-${{ matrix.name }}-${{ matrix.buildtype }}-luajit=${{ matrix.luajit }}-${{ github.sha }}
|
||||||
path: ${{ runner.workspace }}/build/otclient.exe
|
path: ${{ runner.workspace }}/build/otclient.exe
|
||||||
if: contains( matrix.os, 'windows')
|
if: contains( matrix.os, 'windows')
|
||||||
|
|
||||||
- name: Upload artifact binary (dlls)
|
- name: Upload artifact binary (dlls)
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: otclient-${{ matrix.name }}-${{ matrix.buildtype }}-luajit=${{ matrix.luajit }}-${{ github.sha }}
|
name: otclient-${{ matrix.name }}-${{ matrix.buildtype }}-luajit=${{ matrix.luajit }}-${{ github.sha }}
|
||||||
path: ${{ runner.workspace }}/build/*.dll
|
path: ${{ runner.workspace }}/build/*.dll
|
||||||
|
Loading…
x
Reference in New Issue
Block a user