From 1fe010ff8e728760291826f702d2dc0aee0c30c1 Mon Sep 17 00:00:00 2001
From: csc530 <{ID}+{username}@users.noreply.github.com>
Date: Wed, 31 Jul 2024 23:55:14 -0400
Subject: [PATCH] update release draft workflow
---
.github/workflows/release.yml | 13 +++++++++----
Resumer/resumer.csproj | 3 ++-
2 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 1bb1a9e..39a8eb5 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -50,11 +50,16 @@ jobs:
shell: pwsh
run: |
if ($env:RUNNER_OS -eq "Windows") {
+ mv ./publish/Resumer.exe ./publish/resumer.exe
7z a ./${{ matrix.os }}_resumer_${{ github.ref_name }}.zip '.\publish\*'
- }
- else {
- zip ./${{ matrix.os }}_resumer_${{ github.ref_name }}.zip ./publish/*
- }
+ }
+ else {
+ mv ./publish/Resumer ./publish/resumer
+ cd ./publish
+ zip -1g ../${{ matrix.os }}_resumer_${{ github.ref_name }}.zip ./publish/*
+ zip -u
+ cd ..
+ }
- name: Upload Release Asset
run: gh release upload ${{ github.ref_name }} ${{ matrix.os }}_resumer_${{ github.ref_name }}.zip
diff --git a/Resumer/resumer.csproj b/Resumer/resumer.csproj
index 4bea40e..6368c36 100644
--- a/Resumer/resumer.csproj
+++ b/Resumer/resumer.csproj
@@ -10,7 +10,7 @@
Resumer.Program
Resumer
false
-
+
false
true
@@ -28,6 +28,7 @@
true
None
False
+