Files
CSSUDII.Sodium/.github/workflows/build.yml
Lucas Petrino 0553285c41
All checks were successful
/ build (push) Successful in 1m46s
Only publish DLLs as build artifacts
2025-04-09 17:58:50 +12:00

36 lines
790 B
YAML

on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
- name: Build
run: dotnet build --configuration Release
- name: Test
run: dotnet test --configuration Release --no-build
- name: Get current timestamp
id: timestamp
run: echo "datetime=$(date +'%Y%m%d-%H%M%S')" >> $GITHUB_ENV
- name: Upload build artifacts
uses: actions/upload-artifact@v3
with:
name: CSSUDII.Sodium_${{ env.datetime }}
path: ${{ github.workspace }}/**/*.dll