Support deprecation and added versions for API methods in ApiGenerator #1174
Workflow file for this run
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: Create Release Candidate | |
on: [pull_request, push] | |
env: | |
VERSION: 2.0.0 | |
jobs: | |
create-release-artifacts: | |
name: Create Release Artifacts | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: | | |
5.0.x | |
6.0.x | |
- uses: actions/cache@v3 | |
with: | |
path: ~/.nuget/packages | |
key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.?sproj') }} | |
restore-keys: | | |
${{ runner.os }}-nuget- | |
- name: Generate Release | |
run: | | |
./build.sh release $VERSION | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: opensearch-net-${{env.VERSION}}-release-candidate | |
path: build/output/*.nupkg |