Skip to content

Bump Microsoft.Extensions.Http and 3 others #116

Bump Microsoft.Extensions.Http and 3 others

Bump Microsoft.Extensions.Http and 3 others #116

Workflow file for this run

on:
push:
branches:
- '**'
pull_request:
branches:
- '**'
types: [opened, reopened, synchronize]
workflow_call:
workflow_dispatch:
name: ci-build
env:
DOTNET_VERSION: 9.0.x
REGISTRY: ghcr.io
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Setup .NET SDK ${{ env.DOTNET_VERSION }}
uses: actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6.0.0
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
- name: Cache NuGet packages
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: ~/.nuget/packages
key: ${{ runner.os }}-nuget
restore-keys: |
${{ runner.os }}-nuget
- name: Publish Medal Module
run: dotnet publish Medal/Medal.csproj -c Release -o ./publish/
- name: Upload ShockOSC artifacts
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: Medal Module
path: publish/*
retention-days: 1
if-no-files-found: error