Skip to content
This repository has been archived by the owner on Jul 8, 2024. It is now read-only.

Commit

Permalink
Update build-openssh.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Azathothas authored Aug 11, 2023
1 parent 3f3ca38 commit 95cc524
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/build-openssh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,21 +161,21 @@ jobs:
ls -laR /tmp/releases && cd /tmp/releases
#aarch64_arm64
find . -type f -name '*aarch64*' -exec tar -xzvf {} \;
find ./bin -type f -name '*sshd_config*' -exec mv {} ./sshd_config_aarch64_arm64_Linux \;
find ./bin -type f -name '*sshd*' ! -name '*sshd_config*' -exec mv {} ./sshd_aarch64_arm64_Linux \;
find ./bin -type f -name '*sftp-server*' -exec mv {} ./sftp_server_aarch64_arm64_Linux \;
find ./bin -type f -name '*sshd_config*' -exec mv {} sshd_config_aarch64_arm64_Linux \;
find ./bin -type f -name '*sshd*' ! -name '*sshd_config*' -exec mv {} sshd_aarch64_arm64_Linux \;
find ./bin -type f -name '*sftp-server*' -exec mv {} sftp_server_aarch64_arm64_Linux \;
find . -empty -delete
#amd_x86_64
find . -type f -name '*x86-64*' -exec tar -xzvf {} \;
find ./bin -type f -name '*sshd_config*' -exec mv {} ./sshd_config_amd_x86_64_Linux \;
find ./bin -type f -name '*sshd*' ! -name '*sshd_config*' -exec mv {} ./sshd_amd_x86_64_Linux \;
find ./bin -type f -name '*sftp-server*' -exec mv {} ./sftp_server_amd_x86_64_Linux \;
find ./bin -type f -name '*sshd_config*' -exec mv {} sshd_config_amd_x86_64_Linux \;
find ./bin -type f -name '*sshd*' ! -name '*sshd_config*' -exec mv {} sshd_amd_x86_64_Linux \;
find ./bin -type f -name '*sftp-server*' -exec mv {} sftp_server_amd_x86_64_Linux \;
find . -empty -delete
#armv7_eabihf
find . -type f -name '*armv7-eabihf*' -exec tar -xzvf {} \;
find ./bin -type f -name '*sshd_config*' -exec mv {} ./sshd_config_armv7_eabihf_Linux \;
find ./bin -type f -name '*sshd*' ! -name '*sshd_config*' -exec mv {} ./sshd_armv7_eabihf_Linux \;
find ./bin -type f -name '*sftp-server*' -exec mv {} ./sftp_server_armv7_eabihf_Linux \;
find ./bin -type f -name '*sshd_config*' -exec mv {} sshd_config_armv7_eabihf_Linux \;
find ./bin -type f -name '*sshd*' ! -name '*sshd_config*' -exec mv {} sshd_armv7_eabihf_Linux \;
find ./bin -type f -name '*sftp-server*' -exec mv {} sftp_server_armv7_eabihf_Linux \;
find . -empty -delete
- name: Create Body for Release
Expand All @@ -190,10 +190,10 @@ jobs:
echo "Install: 'https://github.com/Azathothas/static-toolbox/blob/master/README.md#openssh'" >> /tmp/RELEASE_NOTE.md
echo -e "" >> /tmp/RELEASE_NOTE.md
echo -e "--> METADATA" >> /tmp/RELEASE_NOTE.md
/bin/bash -c 'PS4="$ "; file ./* | grep -v '.txt' '&>> /tmp/RELEASE_NOTE.md
/bin/bash -c 'PS4="$ "; file * | grep -v '.txt' '&>> /tmp/RELEASE_NOTE.md
echo -e "" >> /tmp/RELEASE_NOTE.md
echo -e "--> SHA256SUM" >> /tmp/RELEASE_NOTE.md
/bin/bash -c 'PS4="$ ";sha256sum ./* | grep -v '.txt' ' &>> /tmp/RELEASE_NOTE.md
/bin/bash -c 'PS4="$ ";sha256sum * | grep -v '.txt' ' &>> /tmp/RELEASE_NOTE.md
echo -e '```\n' >> /tmp/RELEASE_NOTE.md
echo -e "" >> /tmp/RELEASE_NOTE.md
echo '---' >> /tmp/RELEASE_NOTE.md
Expand Down Expand Up @@ -227,5 +227,5 @@ jobs:
token: "${{ secrets.GITHUB_TOKEN }}"
body_path: "/tmp/RELEASE_NOTE.md"
files: |
/tmp/releases/*/*
/tmp/releases/*
#------------------------------------------------------------------------------------#

0 comments on commit 95cc524

Please sign in to comment.