Skip to content

Commit

Permalink
ci: add github action to try generating release packages
Browse files Browse the repository at this point in the history
  • Loading branch information
Tr00d committed Nov 23, 2023
1 parent 727393a commit 2494e40
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
47 changes: 47 additions & 0 deletions .github/workflows/release-build.yml
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
1 change: 1 addition & 0 deletions Vonage.sln
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Workflows", "Workflows", "{
.github\workflows\multiframework-build.yml = .github\workflows\multiframework-build.yml
.github\workflows\net-build.yml = .github\workflows\net-build.yml
.github\workflows\release.yml = .github\workflows\release.yml
.github\workflows\release-build.yml = .github\workflows\release-build.yml
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Vonage.Server", "Vonage.Server\Vonage.Server.csproj", "{AC22C44D-AE7A-4FA1-8EA3-479578D6E3C6}"
Expand Down

0 comments on commit 2494e40

Please sign in to comment.