Skip to content

Commit

Permalink
next try to fix release script
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisspre committed Sep 24, 2020
1 parent 4f288d4 commit ff610bb
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/rapid-cli-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.301
dotnet-version: 3.1.402

- name: Install dependencies
- name: Restore
run: dotnet restore ./tools/rsdl/dotnet/rapid/rapid.csproj

- name: Build
Expand Down
13 changes: 8 additions & 5 deletions .github/workflows/rapid-cli-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,19 @@ jobs:
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.301
dotnet-version: 3.1.402

- name: Install dependencies
- name: Restore
run: dotnet restore ./tools/rsdl/dotnet/rapid/rapid.csproj

- name: Create NuGet Package
run: dotnet pack ./tools/rsdl/dotnet/rapid/rapid.csproj -c Release /p:Version=${{ github.event.release.tag_name }} /p:PackageReleaseNotes="See https://github.com/oasis-open/odata-rapid/releases/tag/${{ github.event.release.tag_name }}"
- name: Build
run: dotnet build ./tools/rsdl/dotnet/rapid/rapid.csproj --configuration release --no-restore

- name: Pack
run: dotnet pack ./tools/rsdl/dotnet/rapid/rapid.csproj --configuration release /p:Version=${{ github.event.release.tag_name }} /p:PackageReleaseNotes="See https://github.com/oasis-open/odata-rapid/releases/tag/${{ github.event.release.tag_name }}"
working-directory: ./src

- name: Archive NuGet Package
- name: Publish artifact
uses: actions/upload-artifact@v2
with:
path: ./tools/rsdl/dotnet/rapid/nupkg
Expand Down
11 changes: 11 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"cSpell.words": [
"dotnet",
"nuget",
"nupkg",
"rapid",
"rsdl",
"tools",
"tools rsdl dotnet rapid nupkg"
]
}

0 comments on commit ff610bb

Please sign in to comment.