CI: BIE6 configuration and Release workflow #30
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: | |
| paths-ignore: | |
| - "**LICENSE" | |
| - "**.editorconfig" | |
| - "**.git**" | |
| - "!.github/workflows/**" | |
| jobs: | |
| build: | |
| name: Build | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| configuration: ["BepInEx5", "BepInEx6"] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6.0.2 | |
| with: | |
| submodules: recursive | |
| - name: Cache | |
| uses: actions/cache@v5.0.5 | |
| with: | |
| path: ~/.nuget/packages | |
| key: ${{ runner.os }}-nuget | |
| - name: Build client | |
| run: dotnet publish --configuration Debug-${{ matrix.configuration }} --output build --verbosity normal | |
| - name: Upload client plugin | |
| uses: actions/upload-artifact@v7.0.1 | |
| with: | |
| name: "io.github.nonperforming.pulse-${{ matrix.configuration }}.dll" | |
| path: | | |
| build/io.github.nonperforming.pulse.dll | |
| build/io.github.nonperforming.pulse.pdb | |
| if-no-files-found: error |