1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-02-18 04:54:15 +01:00

[CI] Update CI actions

This commit is contained in:
Blisto91 2024-05-25 22:27:01 +02:00 committed by Philip Rebohle
parent 60cfafe027
commit 890ad3f47f
2 changed files with 26 additions and 9 deletions

View File

@ -9,13 +9,13 @@ jobs:
steps:
- name: Checkout code
id: checkout-code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- name: Setup problem matcher
uses: Joshua-Ashton/gcc-problem-matcher@v2
uses: Joshua-Ashton/gcc-problem-matcher@v3
- name: Build release
id: build-release
@ -28,9 +28,9 @@ jobs:
- name: Upload artifacts
id: upload-artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: dxvk-${{ env.VERSION_NAME }}
name: dxvk-win-${{ env.VERSION_NAME }}
path: build/dxvk-${{ env.VERSION_NAME }}
if-no-files-found: error
@ -41,13 +41,13 @@ jobs:
steps:
- name: Checkout code
id: checkout-code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- name: Setup problem matcher
uses: Joshua-Ashton/gcc-problem-matcher@v2
uses: Joshua-Ashton/gcc-problem-matcher@v3
- name: Build release
id: build-release
@ -59,8 +59,25 @@ jobs:
- name: Upload artifacts
id: upload-artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: dxvk-${{ env.VERSION_NAME }}
name: dxvk-native-${{ env.VERSION_NAME }}
path: build/dxvk-native-${{ env.VERSION_NAME }}.tar.gz
if-no-files-found: error
merge-artifacts:
runs-on: ubuntu-20.04
needs: [artifacts-mingw-w64, artifacts-steamrt-sniper]
steps:
- name: Get version
id: get-version
shell: bash
run: |
echo "VERSION_NAME=${GITHUB_REF##*/}-${GITHUB_SHA##*/}" >> $GITHUB_ENV
- name: Merge Artifacts
uses: actions/upload-artifact/merge@v4
with:
name: dxvk-${{ env.VERSION_NAME }}
pattern: dxvk*
delete-merged: true

View File

@ -9,7 +9,7 @@ jobs:
steps:
- name: Checkout code
id: checkout-code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: recursive