Skip to content

Bump YamlDotNet from 16.1.2 to 16.1.3 #642

Bump YamlDotNet from 16.1.2 to 16.1.3

Bump YamlDotNet from 16.1.2 to 16.1.3 #642

Workflow file for this run

name: .NET Core
on:
push
env:
MSSQL_SA_PASSWORD: "YourStrong!Passw0rd"
ACCEPT_EULA: "Y"
MSSQL_PID: "developer"
jobs:
build:
runs-on: ubuntu-20.04
steps:
- name: Disable disk flush for CI
run: sudo apt-get install -y libeatmydata1
- uses: actions/checkout@v4
- name: Setup .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Install MS SQL Server and Postgresql, start existing MySQL
run: |
sudo wget -qO/etc/apt/trusted.gpg.d/microsoft.asc https://packages.microsoft.com/keys/microsoft.asc
sudo add-apt-repository "$(wget -qO- https://packages.microsoft.com/config/ubuntu/20.04/mssql-server-2019.list)"
sed -i -e 's/Pwd=;/Pwd=root;AllowPublicKeyRetrieval=True;/' DicomTypeTranslation.Tests/TestDatabases.xml
sudo apt-get install -y --no-install-recommends postgresql mssql-tools mssql-server
sudo -E /opt/mssql/bin/mssql-conf -n setup accept-eula
sudo service mysql start
- name: Build
run: dotnet build --configuration Release --nologo
- name: Test
run: dotnet test --configuration Release --verbosity normal --nologo
- name: Pack and push
if: contains(github.ref,'refs/tags/')
run: |
version=$(fgrep AssemblyInformationalVersion SharedAssemblyInfo.cs |cut -d'"' -f2) dotnet pack DicomTypeTranslation/DicomTypeTranslation.csproj -c Release -p:DebugType=full -p:SymbolPackageFormat=snupkg --include-source --include-symbols -o dist
nuget push -skipDuplicate dist/*.nupkg -Source https://api.nuget.org/v3/index.json -ApiKey ${{ secrets.NUGET_KEY }}