Skip to content

Added plugins.props files for plugin references. Fixed small tailwind… #26

Added plugins.props files for plugin references. Fixed small tailwind…

Added plugins.props files for plugin references. Fixed small tailwind… #26

name: Build and Publish NuGet Package
on:
push:
branches: [ v2_ChangeArchitecture,v2.1 ]
workflow_dispatch:
jobs:
publish:
runs-on: debian-12
strategy:
matrix:
project:
- Moonlight.Client
- Moonlight.ApiServer
- Moonlight.Shared
steps:
# Step 1: Clean environment
- name: Clean up Environment
run: |
rm -rf ./*
rm -rf ./.??*
# Step 2: Checkout the code
- name: Checkout code
uses: actions/checkout@v3
# Step 3: Run the publishing action
- name: Publish on version change
uses: alirezanet/[email protected]
with:
PROJECT_FILE_PATH: ${{ matrix.project }}/${{ matrix.project }}.csproj
TAG_COMMIT: false
NUGET_KEY: ${{secrets.GH_PACKAGES_READWRITE}}
NUGET_SOURCE: https://nuget.pkg.github.com/Moonlight-Panel/index.json