Skip to content

Commit 7d751e5

Browse files
authored
Merge pull request #89 from jmhardison/update-action
trim out options
2 parents c6ae2e6 + 7d5ec7f commit 7d751e5

3 files changed

Lines changed: 4 additions & 33 deletions

File tree

.github/workflows/build-release.yml

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -26,28 +26,16 @@ jobs:
2626
- name: Build and publish for multiple platforms
2727
run: |
2828
dotnet publish -c Release --self-contained -r osx-x64
29-
dotnet publish -c Release --self-contained -r centos-x64
30-
dotnet publish -c Release --self-contained -r rhel-x64
3129
dotnet publish -c Release --self-contained -r linux-x64
3230
dotnet publish -c Release --self-contained -r win-x64
3331
34-
- name: Create artifacts
35-
uses: actions/upload-artifact@v4
36-
with:
37-
name: centos-x64-binaries
38-
path: cli-exakvdocsign/bin/Release/net8.0/centos-x64/publish/
3932
4033
- name: Upload Linux x64 artifacts
4134
uses: actions/upload-artifact@v4
4235
with:
4336
name: linux-x64-binaries
4437
path: cli-exakvdocsign/bin/Release/net8.0/linux-x64/publish/
4538

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

5240
- name: Upload macOS x64 artifacts
5341
uses: actions/upload-artifact@v4
@@ -84,15 +72,6 @@ jobs:
8472
draft: true
8573
prerelease: false
8674

87-
- name: Upload centos-x64 Release Asset
88-
uses: actions/upload-release-asset@v1
89-
env:
90-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
91-
with:
92-
upload_url: ${{ steps.create_release.outputs.upload_url }}
93-
asset_path: ./centos-x64-binaries
94-
asset_name: centos-x64-binaries.zip
95-
asset_content_type: application/zip
9675

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

107-
- name: Upload rhel-x64 Release Asset
108-
uses: actions/upload-release-asset@v1
109-
env:
110-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
111-
with:
112-
upload_url: ${{ steps.create_release.outputs.upload_url }}
113-
asset_path: ./rhel-x64-binaries
114-
asset_name: rhel-x64-binaries.zip
115-
asset_content_type: application/zip
11686

11787
- name: Upload osx-x64 Release Asset
11888
uses: actions/upload-release-asset@v1

cli-exakvdocsign/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ public static void SignDoc(){
148148

149149
}
150150
catch(Exception e){
151-
throw;
151+
Console.WriteLine("Error during signing process: " + e.Message);
152152
}
153153
}
154154

cli-exakvdocsign/cli-exakvdocsign.csproj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,15 @@
33
<OutputType>Exe</OutputType>
44
<IsPackable>true</IsPackable>
55
<TargetFramework>net8.0</TargetFramework>
6-
<RuntimeIdentifiers>linux-x64;centos-x64;rhel-x64;osx-x64;win-x64;win-x86</RuntimeIdentifiers>
6+
<RuntimeIdentifiers>linux-x64;osx-x64;win-x64;win-x86</RuntimeIdentifiers>
77
</PropertyGroup>
88
<ItemGroup>
99
<PackageReference Include="Microsoft.Extensions.Configuration" Version="8.0.0" />
10-
<PackageReference Include="Microsoft.Extensions.Configuration.AzureKeyVault" Version="8.0.0" />
10+
<PackageReference Include="Microsoft.Extensions.Configuration.AzureKeyVault" Version="3.1.24" />
1111
<PackageReference Include="Azure.Identity" Version="1.12.0" />
1212
<PackageReference Include="System.Security.Cryptography.Xml" Version="8.0.0" />
1313
<PackageReference Include="Azure.Security.KeyVault.Keys" Version="4.6.0" />
1414
<PackageReference Include="Azure.Security.KeyVault.Secrets" Version="4.6.0" />
15+
<PackageReference Include="Azure.Security.KeyVault.Certificates" Version="4.6.0" />
1516
</ItemGroup>
1617
</Project>

0 commit comments

Comments
 (0)