Skip to content

Commit

Permalink
Update release-cli.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
justinyoo committed Jul 7, 2020
1 parent 8285eb7 commit 8642ce9
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/release-cli.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -183,22 +183,22 @@ jobs:
echo "::set-output name=package2::$package2"
echo "::set-output name=package3::$package3"
- name: Repackage CLI for MacOS and Linux
shell: pwsh
- name: Repackage CLI for Linux and MacOS
shell: bash
run: |
Expand-Archive -Path "./artifacts/${{ steps.package.outputs.package1 }}" -DestinationPath "./artifacts/linux"
unzip "./artifacts/${{ steps.package.outputs.package1 }}" -d "./artifacts/linux"
chmod +x ./artifacts/linux/azfuncopenapi
ls -al ./artifacts/linux
rm "./artifacts/${{ steps.package.outputs.package1 }}"
zip -r "./artifacts/${{ steps.package.outputs.package1 }}" "./artifacts/linux"
Compress-Archive -Path "./artifacts/linux" -DestinationPath "./artifacts/${{ steps.package.outputs.package1 }}" -Force
Expand-Archive -Path "./artifacts/${{ steps.package.outputs.package2 }}" -DestinationPath "./artifacts/osx"
unzip "./artifacts/${{ steps.package.outputs.package2 }}" -d "./artifacts/osx"
chmod +x ./artifacts/osx/azfuncopenapi
ls -al ./artifacts/osx
rm "./artifacts/${{ steps.package.outputs.package2 }}"
zip -r "./artifacts/${{ steps.package.outputs.package2 }}" "./artifacts/osx"
Compress-Archive -Path "./artifacts/osx" -DestinationPath "./artifacts/${{ steps.package.outputs.package2 }}" -Force
ls -al ./artifacts
- name: Create Release to GitHub
id: ghrelease
Expand Down

0 comments on commit 8642ce9

Please sign in to comment.