Skip to content

Update upload-artifact GH action version #18

Update upload-artifact GH action version

Update upload-artifact GH action version #18

Workflow file for this run

name: Build SDL2-CS
on:
pull_request:
workflow_call:
workflow_dispatch:
permissions:
contents: read
jobs:
compile:
name: Compile SDL2-CS
runs-on: ubuntu-22.04
steps:
- name: Clone Repository
uses: actions/checkout@v3
# Since SDL2-CS.csproj targets netstandard2.0 we don't need .NET 6, but let's not risk having outdated support for older versions.
- name: Install .NET 6
uses: actions/setup-dotnet@v3
with:
dotnet-version: '6.0.x'
- name: Compile
run: |
dotnet build SDL2-CS.sln
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: SDL2-CS
path: ./bin