feat: example plugin for the Unturned Redist .Publicized package #1
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 | |
| on: [push, pull_request, workflow_dispatch] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: '8.0.x' | |
| # Proves the plugin compiles against the .Publicized redist. | |
| - name: Build | |
| run: dotnet build -c Release | |
| - name: Upload plugin DLL | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: UnturnedRedistExample | |
| path: bin/Release/net461/UnturnedRedistExample.dll | |
| if-no-files-found: error |