Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 0 additions & 30 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,28 +26,16 @@ jobs:
- name: Build and publish for multiple platforms
run: |
dotnet publish -c Release --self-contained -r osx-x64
dotnet publish -c Release --self-contained -r centos-x64
dotnet publish -c Release --self-contained -r rhel-x64
dotnet publish -c Release --self-contained -r linux-x64
dotnet publish -c Release --self-contained -r win-x64

- name: Create artifacts
uses: actions/upload-artifact@v4
with:
name: centos-x64-binaries
path: cli-exakvdocsign/bin/Release/net8.0/centos-x64/publish/

- name: Upload Linux x64 artifacts
uses: actions/upload-artifact@v4
with:
name: linux-x64-binaries
path: cli-exakvdocsign/bin/Release/net8.0/linux-x64/publish/

- name: Upload RHEL x64 artifacts
uses: actions/upload-artifact@v4
with:
name: rhel-x64-binaries
path: cli-exakvdocsign/bin/Release/net8.0/rhel-x64/publish/

- name: Upload macOS x64 artifacts
uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -84,15 +72,6 @@ jobs:
draft: true
prerelease: false

- name: Upload centos-x64 Release Asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./centos-x64-binaries
asset_name: centos-x64-binaries.zip
asset_content_type: application/zip

- name: Upload linux-x64 Release Asset
uses: actions/upload-release-asset@v1
Expand All @@ -104,15 +83,6 @@ jobs:
asset_name: linux-x64-binaries.zip
asset_content_type: application/zip

- name: Upload rhel-x64 Release Asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./rhel-x64-binaries
asset_name: rhel-x64-binaries.zip
asset_content_type: application/zip

- name: Upload osx-x64 Release Asset
uses: actions/upload-release-asset@v1
Expand Down
2 changes: 1 addition & 1 deletion cli-exakvdocsign/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ public static void SignDoc(){

}
catch(Exception e){
throw;
Console.WriteLine("Error during signing process: " + e.Message);
}
}

Expand Down
5 changes: 3 additions & 2 deletions cli-exakvdocsign/cli-exakvdocsign.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@
<OutputType>Exe</OutputType>
<IsPackable>true</IsPackable>
<TargetFramework>net8.0</TargetFramework>
<RuntimeIdentifiers>linux-x64;centos-x64;rhel-x64;osx-x64;win-x64;win-x86</RuntimeIdentifiers>
<RuntimeIdentifiers>linux-x64;osx-x64;win-x64;win-x86</RuntimeIdentifiers>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Configuration" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.AzureKeyVault" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.AzureKeyVault" Version="3.1.24" />
<PackageReference Include="Azure.Identity" Version="1.12.0" />
<PackageReference Include="System.Security.Cryptography.Xml" Version="8.0.0" />
<PackageReference Include="Azure.Security.KeyVault.Keys" Version="4.6.0" />
<PackageReference Include="Azure.Security.KeyVault.Secrets" Version="4.6.0" />
<PackageReference Include="Azure.Security.KeyVault.Certificates" Version="4.6.0" />
</ItemGroup>
</Project>
Loading