Skip to content

Commit

Permalink
fix zip path
Browse files Browse the repository at this point in the history
  • Loading branch information
lemccomb committed Aug 26, 2024
1 parent 8c6554a commit c936868
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/rerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,18 @@

name: Re-release Assets
on:
pull_request:
branches: [ "*" ] # Take this out once it works
workflow_dispatch:
inputs:
oldest:
description: 'Oldest release to include'
required: true
default: 'v0.3.1'
default: 'v1.2.3'
newest:
description: 'Newest release to include'
required: true
default: 'current'
default: 'v1.2.4'

jobs:
release_assets_by_tag:
Expand All @@ -32,16 +34,16 @@ jobs:
include:
- os: windows-latest
dir_command: gci -Recurse
zip_command_debug: Compress-Archive -Path ./debug/ -DestinationPath CoseSignTool-Windows-debug.zip
zip_command_release: Compress-Archive -Path ./release/ -DestinationPath CoseSignTool-Windows-release.zip
zip_command_debug: Compress-Archive -Path ./published/debug/ -DestinationPath CoseSignTool-Windows-debug.zip
zip_command_release: Compress-Archive -Path ./published/release/ -DestinationPath CoseSignTool-Windows-release.zip
- os: ubuntu-latest
dir_command: ls -a -R
zip_command_debug: zip -r CoseSignTool-Linux-debug.zip ./debug/
zip_command_release: zip -r CoseSignTool-Linux-release.zip ./release/
zip_command_debug: zip -r CoseSignTool-Linux-debug.zip ./published/debug/
zip_command_release: zip -r CoseSignTool-Linux-release.zip ./published/release/
- os: macos-latest
dir_command: ls -a -R
zip_command_debug: zip -r CoseSignTool-MacOS-debug.zip ./debug/
zip_command_release: zip -r CoseSignTool-MacOS-release.zip ./release/
zip_command_debug: zip -r CoseSignTool-MacOS-debug.zip ./published/debug/
zip_command_release: zip -r CoseSignTool-MacOS-release.zip ./published/release/

steps:
- name: Checkout repository
Expand Down

0 comments on commit c936868

Please sign in to comment.