Added plugins.props files for plugin references. Fixed small tailwind… #26
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |