Update upload-artifact GH action version #18
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |