Skip to content

Added EmbeddedTestCase for opininated testing of generator run cases;… #14

Added EmbeddedTestCase for opininated testing of generator run cases;…

Added EmbeddedTestCase for opininated testing of generator run cases;… #14

Workflow file for this run

on: { push: { tags: ["v[0-9]+.[0-9]+.[0-9]+*"] } }
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
- run: dotnet pack -p:Version=$(echo ${{ github.ref_name }} | sed 's/^v//') -p:RepositoryCommit=${{ github.sha }}
- run: dotnet nuget push ./artifacts/package/release/*.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json
- uses: actions/upload-artifact@v4
with:
path: ./artifacts/package/release/*.s?nupkg
if-no-files-found: error
- uses: softprops/action-gh-release@v2
with:
files: ./artifacts/package/release/*.s?nupkg