Skip to content
This repository was archived by the owner on Jul 24, 2025. It is now read-only.

Update SonarSource/sonarcloud-github-action digest to 13a24e4 #221

Update SonarSource/sonarcloud-github-action digest to 13a24e4

Update SonarSource/sonarcloud-github-action digest to 13a24e4 #221

Workflow file for this run

# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
name: .NET
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 9.0.x
- name: Register Nuget Registry
run: dotnet nuget add source --username ${{github.repository_owner}} --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/${{github.repository_owner}}/index.json"
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
# - name: Test
# run: dotnet test --no-build --verbosity normal
- name: Build Release
run: dotnet build --configuration Release
- name: Pack
run: dotnet pack ppsspp-api.csproj --configuration Release --no-restore --no-build
- name: Publish
run: dotnet nuget push bin/Release/*.nupkg --api-key ${{secrets.YOUR_GITHUB_PAT}} --source "github" --skip-duplicate