-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: add github action to try generating release packages
- Loading branch information
Showing
2 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: Release Build | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: [ main ] | ||
|
||
permissions: | ||
actions: write | ||
checks: write | ||
contents: read | ||
deployments: read | ||
issues: write | ||
discussions: write | ||
packages: read | ||
pages: write | ||
pull-requests: write | ||
security-events: write | ||
statuses: write | ||
|
||
jobs: | ||
Vonage: | ||
name: Vonage | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Try build Release configuration | ||
run: dotnet build --configuration Release .\Vonage\Vonage.csproj -v minimal | ||
- name: Try build ReleaseSigned configuration | ||
run: dotnet build --configuration ReleaseSigned .\Vonage\Vonage.csproj -v minimal | ||
- name: Try create Release package | ||
run: dotnet pack -c Release .\Vonage\Vonage.csproj -v minimal --no-build | ||
- name: Try create ReleaseSigned package | ||
run: dotnet pack -c ReleaseSigned .\Vonage\Vonage.csproj -v minimal --no-build | ||
VonageServer: | ||
name: Vonage.Server | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Try build Release configuration | ||
run: dotnet build --configuration Release .\Vonage.Server\Vonage.Server.csproj -v minimal | ||
- name: Try build ReleaseSigned configuration | ||
run: dotnet build --configuration ReleaseSigned .\Vonage.Server\Vonage.Server.csproj -v minimal | ||
- name: Try create Release package | ||
run: dotnet pack -c Release .\Vonage.Server\Vonage.Server.csproj -v minimal --no-build | ||
- name: Try create ReleaseSigned package | ||
run: dotnet pack -c ReleaseSigned .\Vonage.Server\Vonage.Server.csproj -v minimal --no-build |
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