Update to AsmResolver 6 (#17) #32
This file contains 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: CI | |
on: [ "push", "pull_request" ] | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v2 | |
with: | |
dotnet-version: 6.x | |
- name: Run the Cake script | |
uses: cake-build/cake-action@v1 | |
with: | |
verbosity: Diagnostic | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: nuget packages | |
path: ./BepInEx.AssemblyPublicizer*/bin/Release/*.nupkg | |
- name: Push NuGet package | |
if: github.ref_type == 'tag' | |
run: | | |
dotnet nuget push ./BepInEx.AssemblyPublicizer*/bin/Release/*.nupkg --source ${{ secrets.NUGET_SOURCE }} --api-key ${{ secrets.NUGET_KEY }} |