Update workflow actions (#1197)

* Update workflow actions

* Update actions/checkout to v3
This commit is contained in:
Marcin Michalski 2022-11-26 00:06:57 +00:00 committed by GitHub
parent 725c200c9f
commit 4a39d49fc1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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