Skip to content

Commit

Permalink
💚 fix? archive zip in github action
Browse files Browse the repository at this point in the history
  • Loading branch information
csc530 committed Jun 10, 2024
1 parent 3d0bdb4 commit 2e1b246
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,16 @@ jobs:
run: bash zip -r ../${{ matrix.os }}_resumer_${{ github.ref_name }}.zip ../publish
working-directory: ./publish

- name: zip files
shell: pwsh
run: |
if ($env:RUNNER_OS -eq "Windows") {
7z a ../${{ matrix.os }}_resumer_${{ github.ref_name }}.zip ../publish
}
else {
zip -r ../${{ matrix.os }}_resumer_${{ github.ref_name }}.zip ../publish
}
- name: Create GitHub Release
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion Resumer/cli/commands/delete/DeleteCommandSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ namespace Resumer.cli.commands.delete;

public class DeleteCommandSettings:CommandSettings
{
[CommandOption("-c|--no-confirm")]
[CommandOption("-n|--no-confirm")]
[Description("Do not ask for confirmation before deleting")]
public bool NoConfirm { get; set; }

Expand Down

0 comments on commit 2e1b246

Please sign in to comment.