Skip to content

Commit 6a4e339

Browse files
committed
ci: update build-executables.yml to compress output files and comment out artifact upload and virus scan steps
1 parent e9d9b22 commit 6a4e339

File tree

1 file changed

+24
-19
lines changed

1 file changed

+24
-19
lines changed

.github/workflows/build-executables.yml

Lines changed: 24 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -37,30 +37,35 @@ jobs:
3737
# Step 5: Compress to zip
3838
- name: Compress to zip
3939
run: |
40+
cd XMLPatch\bin\Release\net8.0\win-x64\
41+
Get-ChildItem -Path . -Recurse | Select-Object FullName, Length, LastWriteTime
42+
cd ..\..\..\..\XMLPatch\bin\Release\net8.0\win-x64\
43+
Get-ChildItem -Path . -Recurse | Select-Object FullName, Length, LastWriteTime
44+
cd ..\..\..\..
4045
mkdir -p XMLDiffAndPatch
4146
cp -r XMLPatch\bin\Release\net8.0\win-x64\XMLPatch.exe XMLDiffAndPatch
4247
cp -r XMLDiff\bin\Release\net8.0\win-x64\XMLDiff.exe XMLDiffAndPatch
4348
7z a -tzip XMLDiffAndPatch.zip XMLDiffAndPatch
4449
shell: powershell
4550

46-
# Step 6: Upload Diff and Patch Archive as Artifact
47-
- name: Upload Diff and Patch Archive as Artifact
48-
uses: actions/upload-artifact@v4
49-
with:
50-
name: executables-archive
51-
path: |
52-
XMLDiffAndPatch.zip
53-
env:
54-
GITHUB_TOKEN: ${{ secrets.MY_RELEASE_PLEASE_TOKEN }}
51+
# # Step 6: Upload Diff and Patch Archive as Artifact
52+
# - name: Upload Diff and Patch Archive as Artifact
53+
# uses: actions/upload-artifact@v4
54+
# with:
55+
# name: executables-archive
56+
# path: |
57+
# XMLDiffAndPatch.zip
58+
# env:
59+
# GITHUB_TOKEN: ${{ secrets.MY_RELEASE_PLEASE_TOKEN }}
5560

5661
# Step 10: Scan with VirusTotal
57-
-
58-
name: VirusTotal Scan
59-
uses: crazy-max/ghaction-virustotal@v4
60-
with:
61-
update_release_body: true
62-
vt_api_key: ${{ secrets.VT_API_KEY }}
63-
github_token: ${{ secrets.MY_RELEASE_PLEASE_TOKEN }}
64-
request_rate: 4
65-
files: |
66-
${{ github.event_name == 'release' && '.zip$' || '*.zip' }}
62+
# -
63+
# name: VirusTotal Scan
64+
# uses: crazy-max/ghaction-virustotal@v4
65+
# with:
66+
# update_release_body: true
67+
# vt_api_key: ${{ secrets.VT_API_KEY }}
68+
# github_token: ${{ secrets.MY_RELEASE_PLEASE_TOKEN }}
69+
# request_rate: 4
70+
# files: |
71+
# ${{ github.event_name == 'release' && '.zip$' || '*.zip' }}

0 commit comments

Comments
 (0)